IEntryViewTKey, TValueGetCost Method Hazelcast .Net Client Class Library
Returns the cost (in bytes) of the entry.

Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.5.0.6
Syntax

long GetCost()

Return Value

Type: Int64
cost in bytes
Remarks

Returns the cost (in bytes) of the entry.

Warning:

This method returns -1 if statistics is not enabled.

See Also

Reference