|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalMapStats
Local map statistics. As everything is partitioned in Hazelcast, each member owns 1/N (N being the number of members in the cluster) entries of a distributed map. Each member also holds backup entries of another member. LocalMapStats tells you the count of owned and backup entries besides their size in memory.
When an entry is removed, it is not erased from the map immediately. Hazelcast will mark it as removed and erase it couple of seconds later for correct versioning of backups.
Method Summary | |
---|---|
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 |
getHits()
Returns the number of hits (reads) of the locally owned entries. |
long |
getLastAccessTime()
Returns the last access (read) time of the locally owned entries. |
long |
getLastEvictionTime()
Returns the last eviction 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 |
getLockWaitCount()
Returns the number of cluster-wide threads waiting to acquire locks for the locally owned keys. |
long |
getMarkedAsRemovedEntryCount()
Returns the number of marked as removed entries in this member. |
long |
getMarkedAsRemovedMemoryCost()
Returns memory cost (number of bytes) of marked as removed entries in this member. |
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. |
Methods inherited from interface com.hazelcast.monitor.LocalInstanceStats |
---|
getOperationStats |
Method Detail |
---|
long getOwnedEntryCount()
long getBackupEntryCount()
long getMarkedAsRemovedEntryCount()
long getOwnedEntryMemoryCost()
long getBackupEntryMemoryCost()
long getMarkedAsRemovedMemoryCost()
long getCreationTime()
long getLastAccessTime()
long getLastUpdateTime()
long getLastEvictionTime()
long getHits()
long getLockedEntryCount()
long getLockWaitCount()
long getDirtyEntryCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |