public interface Sequencing
currentSequenceValue
is the number that was last returned
in a newSequenceValue
call, and will initially be zero. Persisting Sequencing
services defines "initially" as the first run ever, as subsequent starts may retrieve the
currentSequenceValue
from an EntityStore
Modifier and Type | Method and Description |
---|---|
Long |
currentSequenceValue() |
Long |
newSequenceValue() |
Long newSequenceValue() throws SequencingException
SequencingException
Long currentSequenceValue()