public interface LocalMapStats extends LocalInstanceStats
IMap
is a partitioned data structure
in Hazelcast, each member owns a fraction of the total number of entries of a distributed map.
Depending on the IMap
's configuration, each member may also hold backup
entries of other members. LocalMapStats provides the count of owned and backup
entries besides their size in memory.STAT_NOT_AVAILABLE
Modifier and Type  Method and Description 

int 
getBackupCount()
Returns the number of backups per entry.

long 
getBackupEntryCount()
Returns the number of backup entries hold by this member.

long 
getBackupEntryMemoryCost()
Returns memory cost (number of bytes) of backup entries in this member.

long 
getCreationTime()
Returns the creation time of this map on this member.

long 
getDirtyEntryCount()
Returns the number of entries that the member owns and are dirty (updated but not persisted yet).

long 
getEventOperationCount()
Returns the number of Events Received

long 
getGetOperationCount()
Returns the number of get operations

long 
getHeapCost()
Cost of map & Near Cache & backup in bytes
When
InMemoryFormat.OBJECT is used, the heapcost is zero. 
long 
getHits()
Returns the number of hits (reads) of locally owned entries, including those
which are no longer in the map (for example, may have been evicted).

long 
getLastAccessTime()
Returns the last access (read) time of the locally owned entries.

long 
getLastUpdateTime()
Returns the last update time of the locally owned entries.

long 
getLockedEntryCount()
Returns the number of currently locked locally owned keys.

long 
getMaxGetLatency()
Returns the maximum latency of get operations.

long 
getMaxPutLatency()
Returns the maximum latency of put operations.

long 
getMaxRemoveLatency()
Returns the maximum latency of remove operations.

NearCacheStats 
getNearCacheStats()
Returns statistics related to the Near Cache.

long 
getOtherOperationCount()
Returns the total number of Other Operations

long 
getOwnedEntryCount()
Returns the number of entries owned by this member.

long 
getOwnedEntryMemoryCost()
Returns memory cost (number of bytes) of owned entries in this member.

long 
getPutOperationCount()
Returns the number of put operations

long 
getRemoveOperationCount()
Returns the number of Remove operations

long 
getTotalGetLatency()
Returns the total latency of get operations.

long 
getTotalPutLatency()
Returns the total latency of put operations.

long 
getTotalRemoveLatency()
Returns the total latency of remove operations.

long 
total()
Returns the total number of total operations

fromJson, toJson
long getOwnedEntryCount()
long getBackupEntryCount()
int getBackupCount()
long getOwnedEntryMemoryCost()
long getBackupEntryMemoryCost()
long getCreationTime()
getCreationTime
in interface LocalInstanceStats
long getLastAccessTime()
long getLastUpdateTime()
long getHits()
long getLockedEntryCount()
long getDirtyEntryCount()
long getPutOperationCount()
long getGetOperationCount()
long getRemoveOperationCount()
long getTotalPutLatency()
long getTotalGetLatency()
long getTotalRemoveLatency()
long getMaxPutLatency()
long getMaxGetLatency()
long getMaxRemoveLatency()
long getEventOperationCount()
long getOtherOperationCount()
long total()
long getHeapCost()
InMemoryFormat.OBJECT
is used, the heapcost is zero.NearCacheStats getNearCacheStats()
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.