| Constructor and Description |
|---|
UnsynchronizedSequence()
Starts at the value of 1.
|
UnsynchronizedSequence(long initialValue) |
| Modifier and Type | Method and Description |
|---|---|
long |
getNextSequenceValue()
Gets the next value from the sequence.
|
void |
setNextSequenceValue(long nextValue) |
public UnsynchronizedSequence()
public UnsynchronizedSequence(long initialValue)
public long getNextSequenceValue()
SequencegetNextSequenceValue in interface Sequencepublic void setNextSequenceValue(long nextValue)
setNextSequenceValue in interface SequenceCopyright © 2016. All rights reserved.