GenerationPolicy Enumeration

How to handle record writes based on record generation.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
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