GenerationPolicy Enumeration

How to handle record writes based on record generation.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 8.1.0+5933a5a54dcb0179652c01f6f4d6ef13e789846e
C#
public enum GenerationPolicy

Members

NONE0 Do not use record generation to restrict writes.
EXPECT_GEN_EQUAL1 Update/delete record if expected generation is equal to server generation. Otherwise, fail.
EXPECT_GEN_GT2 Update/delete record if expected generation greater than the server generation. Otherwise, fail. This is useful for restore after backup.

See Also