Interface SequenceValueProvider
-
- All Known Implementing Classes:
LockBasedSequenceValueProvider
public interface SequenceValueProvider
An interface that is used for generating the next value for a sequence. This is not meant to be used by end users. This is an SPI which is meant to provide the logic for incrementing the sequence.- Author:
- Filip Hrisafov
- See Also:
SequenceGenerator
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SequenceValueProvider.Context
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
nextValue(SequenceValueProvider.Context context)
-
-
-
Method Detail
-
nextValue
long nextValue(SequenceValueProvider.Context context)
-
-