ExpDeviceSize Method

Aerospike
Create expression that returns record size on disk. If server storage-engine is memory, then zero is returned. 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 DeviceSize()

Return Value

Type: Exp
Examples

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

Reference