- All Known Implementing Classes:
AtomicSequence,UnsynchronizedSequence
public interface Sequence
Generates unique long identifiers.
- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionlongGets the next value from the sequence.voidsetNextSequenceValue(long nextValue)
-
Method Details
-
getNextSequenceValue
long getNextSequenceValue()Gets the next value from the sequence. -
setNextSequenceValue
void setNextSequenceValue(long nextValue)
-
