Table of Contents

Enum LowValueOverflowStrategy

Namespace
LfrlAnvil.Identifiers
Assembly
LfrlAnvil.Identifiers.dll

Represents possible strategies for resolving low value overflow in IdentifierGenerator instances.

public enum LowValueOverflowStrategy : byte

Fields

AddHighValue = 1

Specifies that generator will increment its high value by 1 regardless of the current time, which will reset the low value counter.

Forbidden = 0

Specifies that generator should not generate new identifiers as long as the low value overflow is in progress.

Sleep = 3

Specifies that generator will Sleep(int) as long as the low value overflow is in progress.

SpinWait = 2

Specifies that generator will SpinWait as long as the low value overflow is in progress.