ISequenceConfigurer Interface | ![]() |
Namespace: HP.SV.DotNetRuleApi
public interface ISequenceConfigurer
The ISequenceConfigurer type exposes the following members.
Name | Description | |
---|---|---|
![]() | Cache |
Specifies the number of values which are kept in memory, prior the sequence is persisted (a performance optimization).
On the other hand when SV fails it does not guarantee a continuous sequence of values (e.g. some values might be lost). Uniqueness of values is preserved in any case.
Valid values: 0..count of values between MinValue and MaxCalue Default value: 0 |
![]() | IfUnusedKeepFor |
Specifies duration (in days) how long SV will keep the sequence. Once elapsed the sequence will get deleted.
Valid values: 0..int.MaxValue Default value: 30 |
![]() | IfUnusedKeepForever |
Instructs SV to keep the sequence forever event if not used
|
![]() | NoRecycle |
The sequence throws exception once MaxValue is reached (default behavior)
|
![]() | Recycle |
Allows the sequence to revert back to MinValue once MaxValue is reached
|
![]() | WithIncrement |
Specifies the increment used by each GetNextValue() call.
Valid values: For increasing sequence (e.g. MinValue < MaxValue) a positive value. For decreasing sequence (e.g. MinValue > MaxValue) a negative value. Default value: 1 |
![]() | WithInitialValue |
Specifies initial value.
Valid values: MinValue..MaxValue Default value: MinValue |
![]() | WithMaxValue |
Maximal value
Valid values: long.MinValue..long.MaxValue, not equal to MinValue Default value: log.MaxValue |
![]() | WithMinValue |
Minimal value
Valid values: long.MinValue..long.MaxValue, not equal to MaxValue Default value: 0 |