com.hazelcast.client.proxy
Class ClientIdGeneratorProxy
java.lang.Object
com.hazelcast.client.spi.ClientProxy
com.hazelcast.client.proxy.ClientIdGeneratorProxy
- All Implemented Interfaces:
- DistributedObject, IdGenerator
public class ClientIdGeneratorProxy
- extends ClientProxy
- implements IdGenerator
| Methods inherited from class com.hazelcast.client.spi.ClientProxy |
destroy, equals, getContext, getId, getName, getPartitionKey, getServiceName, hashCode, invoke, invoke, invoke, invokeInterruptibly, listen, listen, onInitialize, onShutdown, setContext, stopListening, throwExceptionIfNull, toData, toObject |
ClientIdGeneratorProxy
public ClientIdGeneratorProxy(String serviceName,
String objectId,
IAtomicLong atomicLong)
init
public boolean init(long id)
- Specified by:
init in interface IdGenerator
newId
public long newId()
- Specified by:
newId in interface IdGenerator
onDestroy
protected void onDestroy()
- Description copied from class:
ClientProxy
- Called before proxy is destroyed.
Overriding implementations should clean/release resources created during initialization.
- Overrides:
onDestroy in class ClientProxy
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.