Click or drag to resize

IEntryViewTKey, TValueGetCost Method

Returns the cost (in bytes) of the entry.

Namespace:  Hazelcast.Core
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.3
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