public class LongIDManager extends java.lang.Object
long IDs.| Constructor and Description |
|---|
LongIDManager() |
| Modifier and Type | Method and Description |
|---|---|
long |
createNewID()
Returns a new sequence identifier that has not been returned before.
|
long |
peekNextID()
Peeks the value that would be returned by the next call of
createNewID(). |
public LongIDManager()
public long createNewID()
public long peekNextID()
createNewID().