WritePolicygeneration Field

Expected generation. Generation is the number of times a record has been modified (including creation) on the server. If a write operation is creating a record, the expected generation would be 0. This field is only relevant when generationPolicy is not NONE.

The server does not support this field for UDF Execute() calls. The read-modify-write usage model can still be enforced inside the UDF code itself.

Default: 0

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: (5.1.1)

public int generation

Field Value

Type: Int32
See Also