public class ClientIdGeneratorProxy extends ClientProxy implements IdGenerator
| Constructor and Description |
|---|
ClientIdGeneratorProxy(String serviceName,
String objectId,
IAtomicLong atomicLong) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
init(long id) |
long |
newId() |
protected void |
onDestroy()
Called before proxy is destroyed.
|
String |
toString() |
destroy, equals, getContext, getId, getName, getPartitionKey, getServiceName, hashCode, invoke, invoke, invoke, invokeInterruptibly, listen, listen, onInitialize, onShutdown, setContext, stopListening, throwExceptionIfNull, toData, toObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitdestroy, getId, getName, getPartitionKey, getServiceNamepublic ClientIdGeneratorProxy(String serviceName, String objectId, IAtomicLong atomicLong)
public boolean init(long id)
init in interface IdGeneratorpublic long newId()
newId in interface IdGeneratorprotected void onDestroy()
ClientProxyonDestroy in class ClientProxyCopyright © 2014 Hazelcast, Inc.. All Rights Reserved.