GenerationPolicy Enumeration
How to handle record writes based on record generation.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
public enum GenerationPolicy
NONE | 0 |
Do not use record generation to restrict writes.
|
EXPECT_GEN_EQUAL | 1 |
Update/delete record if expected generation is equal to server generation. Otherwise, fail.
|
EXPECT_GEN_GT | 2 |
Update/delete record if expected generation greater than the server generation. Otherwise, fail.
This is useful for restore after backup.
|