ExpTTL Method

Aerospike
Create expression that returns record expiration time (time to live) in integer seconds. This expression usually evaluates quickly because record meta data is cached in memory.

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

C#
public static Exp TTL()

Return Value

Type: Exp
Examples

// Record expires in less than 1 hour
Exp.LT(Exp.TTL(), Exp.Val(60 * 60))
See Also

Reference