Annotation Interface SequenceOptimizer
Meta annotation to use a custom
Optimizer for a sequence-based identifier generator.- Since:
- 3.13.0
- Author:
- Vlad Mihalcea
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionReturns the name of the sequence to use. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintReturns the increment sequence value.intReturns the initial sequence value.Returns the optimizer name.
-
Element Details
-
sequenceName
String sequenceNameReturns the name of the sequence to use.- Returns:
- the name of the sequence to use
-
-
-
initialValue
int initialValueReturns the initial sequence value.- Returns:
- initial sequence value
- Default:
- 1
-
incrementSize
int incrementSizeReturns the increment sequence value.- Returns:
- increment sequence value.
- Default:
- 50
-
optimizer
String optimizerReturns the optimizer name. It can be either the fully-qualified Class name or the short name given by theStandardOptimizerDescriptor- Returns:
- the optimizer name
- Default:
- ""
-