public class ClientIdGeneratorProxy extends ClientProxy implements IdGenerator
IdGenerator
.name
Constructor and Description |
---|
ClientIdGeneratorProxy(String serviceName,
String objectId,
IAtomicLong blockGenerator) |
Modifier and Type | Method and Description |
---|---|
boolean |
init(long id) |
long |
newId() |
protected void |
onDestroy()
Called before proxy is destroyed.
|
String |
toString() |
deregisterListener, destroy, equals, getClient, getContext, getDistributedObjectName, getId, getName, getPartitionKey, getSerializationService, getServiceName, hashCode, invoke, invoke, invokeOnPartition, invokeOnPartitionInterruptibly, onInitialize, onShutdown, postDestroy, preDestroy, registerListener, setContext, toData, toObject
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
destroy, getName, getPartitionKey, getServiceName
public ClientIdGeneratorProxy(String serviceName, String objectId, IAtomicLong blockGenerator)
public boolean init(long id)
init
in interface IdGenerator
public long newId()
newId
in interface IdGenerator
protected void onDestroy()
ClientProxy
onDestroy
in class ClientProxy
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.