PrefetchValidityPeriod Property
PrefetchValidityPeriod
Gets or sets the validity period of identifier batches.
Declaration
public TimeSpan PrefetchValidityPeriod { get; set; }
Property Value
TimeSpan |
Remarks
When an identifier is initially requested, an entire batch of identifier is fetched from the cluster. This option configures how long these identifiers can be used, before the batch is dropped and a new batch is fetched.
Fetched identifiers contain a timestamp component which ensures rough global ordering of identifiers. If an identifier is used a long time after it was fetched, the chances it is highly out-of-order increase. Set this option according your usage pattern. If you do not care about ordering, set this option to InfiniteTimeSpan to achieve infinite validity.