public interface IdGenerator extends DistributedObject
Modifier and Type | Method and Description |
---|---|
boolean |
init(long id)
Try to initialize this IdGenerator instance with given id.
|
long |
newId()
Generates and returns cluster-wide unique id.
|
destroy, getId, getName, getPartitionKey, getServiceName
boolean init(long id)
long newId()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.