WritePolicy.expiration Field
Record expiration. Also known as ttl (time to live).
Seconds record will live before being removed by the server.
Expiration values:
- -2: Do not change ttl when record is updated. Supported by Aerospike server versions >= 3.10.1.
- -1: Never expire. Supported by Aerospike server versions >= 3.1.4.
- 0: Default to namespace's "default-ttl" on the server.
- > 0: Actual ttl in seconds.
Default: 0
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
Field Value
Int32