Click or drag to resize

ISequenceConfigurerCache Method

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

Namespace:  HP.SV.DotNetRuleApi
Assembly:  HP.SV.DotNetRuleApi (in HP.SV.DotNetRuleApi.dll) Version: 5.3.0.9999-localBuild
Syntax
C#
ISequenceConfigurer Cache(
	int values
)

Parameters

values
Type: SystemInt32
Number of value to cache

Return Value

Type: ISequenceConfigurer
Exceptions
ExceptionCondition
InvalidSequenceConfigurationException when configuration is invalid.
See Also