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.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public int expiration
Field Value
Type: Int32See Also