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