Package com.hazelcast.map
Interface LocalMapStats
- All Superinterfaces:
- com.hazelcast.instance.LocalInstanceStats
- All Known Subinterfaces:
- LocalMultiMapStats,- LocalReplicatedMapStats
public interface LocalMapStats
extends com.hazelcast.instance.LocalInstanceStats
Local map statistics to be used by 
MemberState implementations.
 
 As 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.
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the number of backups per entry.longReturns the number of backup entries hold by this member.longReturns memory cost (number of bytes) of backup entries in this member.longReturns the creation time of this map on this member.longReturns the number of entries that the member owns and are dirty (updated but not persisted yet).longReturns the number ofMap#entrySetcallslongReturns the number of Events ReceivedlonglonglongReturns the number of get operationslongCost of map & Near Cache & backup & Merkle trees in byteslonggetHits()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).longReturns the total number of indexed queries performed on the map.Returns the per-index statistics map keyed by the index name.longReturns the last access (read) time of the locally owned entries.longReturns the last update time of the locally owned entries.longReturns the number of currently locked keys.longReturns the maximum latency of get operations.longReturns the maximum latency of put operations.longReturns the maximum latency of remove operations.longReturns the maximum latency of set operations.longReturns the heap cost of the Merkle treesReturns statistics related to the Near Cache.longReturns the total number of Other OperationslongReturns the number of entries owned by this member.longReturns memory cost (number of bytes) of owned entries in this member.longReturns the number of put operationslongReturns the total number of queries performed on the map.default longGet throw count ofQueryResultSizeExceededExceptionlongReturns the number of Remove operationslongReturns the number of set operationslongReturns the total latency of get operations.longReturns the total latency of put operations.longReturns the total latency of remove operations.longReturns the total latency of set operations.longReturns the number ofMap#valuescallslongtotal()Returns the total number of total operations
- 
Method Details- 
getOwnedEntryCountlong getOwnedEntryCount()Returns the number of entries owned by this member.- Returns:
- number of entries owned by this member.
 
- 
getBackupEntryCountlong getBackupEntryCount()Returns the number of backup entries hold by this member.- Returns:
- number of backup entries hold by this member.
 
- 
getBackupCountint getBackupCount()Returns the number of backups per entry.- Returns:
- the number of backups per entry.
 
- 
getOwnedEntryMemoryCostlong getOwnedEntryMemoryCost()Returns memory cost (number of bytes) of owned entries in this member.- Returns:
- memory cost (number of bytes) of owned entries in this member.
 
- 
getBackupEntryMemoryCostlong getBackupEntryMemoryCost()Returns memory cost (number of bytes) of backup entries in this member.- Returns:
- memory cost (number of bytes) of backup entries in this member.
 
- 
getCreationTimelong getCreationTime()Returns the creation time of this map on this member.- Specified by:
- getCreationTimein interface- com.hazelcast.instance.LocalInstanceStats
- Returns:
- creation time of this map on this member.
 
- 
getLastAccessTimelong getLastAccessTime()Returns the last access (read) time of the locally owned entries.- Returns:
- last access (read) time of the locally owned entries.
 
- 
getLastUpdateTimelong getLastUpdateTime()Returns the last update time of the locally owned entries.- Returns:
- last update time of the locally owned entries.
 
- 
getHitslong 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).The number of hits may be inaccurate after a partition is migrated to a new owner member. - Returns:
- number of hits (reads) of the locally owned entries.
 
- 
getEvictionCountlong getEvictionCount()- Returns:
- number of evictions happened on locally owned entries, backups are not included.
 
- 
getExpirationCountlong getExpirationCount()- Returns:
- number of expirations happened on locally owned entries, backups are not included.
 
- 
getLockedEntryCountlong getLockedEntryCount()Returns the number of currently locked keys. The returned count includes locks on keys whether or not they are present in the map, since it is allowed to lock on keys that are not present.- Returns:
- number of locked entries.
 
- 
getDirtyEntryCountlong getDirtyEntryCount()Returns the number of entries that the member owns and are dirty (updated but not persisted yet). dirty entry count is meaningful when there is a persistence defined.- Returns:
- the number of dirty entries that the member owns
 
- 
getPutOperationCountlong getPutOperationCount()Returns the number of put operations- Returns:
- number of put operations
 
- 
getSetOperationCountlong getSetOperationCount()Returns the number of set operations- Returns:
- number of set operations
 
- 
getGetOperationCountlong getGetOperationCount()Returns the number of get operations- Returns:
- number of get operations
 
- 
getRemoveOperationCountlong getRemoveOperationCount()Returns the number of Remove operations- Returns:
- number of remove operations
 
- 
getValuesCallCountlong getValuesCallCount()Returns the number ofMap#valuescalls- Returns:
- number of Map#valuescalls
 
- 
getEntrySetCallCountlong getEntrySetCallCount()Returns the number ofMap#entrySetcalls- Returns:
- the number of Map#entrySetcalls
 
- 
getTotalPutLatencylong getTotalPutLatency()Returns the total latency of put operations. To get the average latency, divide by the number of puts- Returns:
- the total latency of put operations
 
- 
getTotalSetLatencylong getTotalSetLatency()Returns the total latency of set operations. To get the average latency, divide by the number of sets- Returns:
- the total latency of set operations
 
- 
getTotalGetLatencylong getTotalGetLatency()Returns the total latency of get operations. To get the average latency, divide by the number of gets- Returns:
- the total latency of get operations
 
- 
getTotalRemoveLatencylong getTotalRemoveLatency()Returns the total latency of remove operations. To get the average latency, divide by the number of gets- Returns:
- the total latency of remove operations
 
- 
getMaxPutLatencylong getMaxPutLatency()Returns the maximum latency of put operations.- Returns:
- the maximum latency of put operations
 
- 
getMaxSetLatencylong getMaxSetLatency()Returns the maximum latency of set operations.- Returns:
- the maximum latency of set operations
 
- 
getMaxGetLatencylong getMaxGetLatency()Returns the maximum latency of get operations.- Returns:
- the maximum latency of get operations
 
- 
getMaxRemoveLatencylong getMaxRemoveLatency()Returns the maximum latency of remove operations.- Returns:
- the maximum latency of remove operations
 
- 
getEventOperationCountlong getEventOperationCount()Returns the number of Events Received- Returns:
- number of events received
 
- 
getOtherOperationCountlong getOtherOperationCount()Returns the total number of Other Operations- Returns:
- number of other operations
 
- 
totallong total()Returns the total number of total operations- Returns:
- number of total operations
 
- 
getHeapCostlong getHeapCost()Cost of map & Near Cache & backup & Merkle trees in bytesWhen InMemoryFormat.OBJECTis used, the heap cost is zero.- Returns:
- heap cost
 
- 
getMerkleTreesCostlong getMerkleTreesCost()Returns the heap cost of the Merkle trees- Returns:
- the heap cost of the Merkle trees
 
- 
getNearCacheStatsNearCacheStats getNearCacheStats()Returns statistics related to the Near Cache.- Returns:
- statistics object for the Near Cache
 
- 
getQueryCountlong getQueryCount()Returns the total number of queries performed on the map.The returned value includes queries processed with and without indexes. - See Also:
 
- 
getIndexedQueryCountlong getIndexedQueryCount()Returns the total number of indexed queries performed on the map.The returned value includes only queries processed using indexes. If there are no indexes associated with the map, the returned value is 0.- See Also:
 
- 
getQueryResultSizeExceededCountdefault long getQueryResultSizeExceededCount()Get throw count ofQueryResultSizeExceededException- Since:
- 5.6
 
- 
getIndexStatsMap<String,LocalIndexStats> getIndexStats()Returns the per-index statistics map keyed by the index name.
- 
getReplicationStatsLocalReplicationStats getReplicationStats()- Returns:
- replication statistics.
- Since:
- 5.0
 
 
-