ExpMemorySize Method

Aerospike
Create expression that returns record size in memory. If server storage-engine is not memory nor data-in-memory, then zero is returned. This expression usually evaluates quickly because record meta data is cached in memory.

Requires server version 5.3.0+

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

C#
public static Exp MemorySize()

Return Value

Type: Exp
Examples

// Record memory size >= 100 KB
Exp.GE(Exp.MemorySize(), Exp.Val(100 * 1024))
See Also

Reference