public final class LongSequenceIDSource extends java.lang.Object implements IDSource<java.lang.Long>
Constructor and Description |
---|
LongSequenceIDSource()
Creates a sequence that starts at zero.
|
LongSequenceIDSource(long firstValue) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
nextID()
Implementing classes are responsible for synchronization if concurrent invocations
of this method are required.
|