public class ClientFlakeIdGeneratorProxy extends ClientProxy implements FlakeIdGenerator
IdGenerator.name| Constructor and Description |
|---|
ClientFlakeIdGeneratorProxy(String serviceName,
String objectName,
ClientContext context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
init(long id) |
long |
newId() |
String |
toString() |
deregisterListener, destroy, destroyLocally, destroyRemotely, equals, getClient, getConnectedServerVersion, getContext, getDistributedObjectName, getId, getName, getPartitionKey, getSerializationService, getServiceName, hashCode, invoke, invoke, invokeOnAddress, invokeOnPartition, invokeOnPartitionInterruptibly, onDestroy, onInitialize, onShutdown, postDestroy, preDestroy, registerListener, setContext, toData, toObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitdestroy, getName, getPartitionKey, getServiceNamepublic ClientFlakeIdGeneratorProxy(String serviceName, String objectName, ClientContext context)
public long newId()
newId in interface IdGeneratornewId in interface FlakeIdGeneratorpublic boolean init(long id)
init in interface IdGeneratorinit in interface FlakeIdGeneratorCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.