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, getServiceNameboolean init(long id)
long newId()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.