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