public class LocalMapStatsImpl extends Object implements LocalMapStats
| Constructor and Description |
|---|
LocalMapStatsImpl() |
| Modifier and Type | Method and Description |
|---|---|
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 |
getMisses()
Returns the number of misses (get returns null) of the locally owned entries.
|
T |
getOperationStats()
Returns the operation stats for 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.
|
void |
readData(DataInput in) |
void |
setBackupEntryCount(long backupEntryCount) |
void |
setBackupEntryMemoryCost(long backupEntryMemoryCost) |
void |
setCreationTime(long creationTime) |
void |
setDirtyEntryCount(long l) |
void |
setHits(long hits) |
void |
setLastAccessTime(long lastAccessTime) |
void |
setLastEvictionTime(long lastEvictionTime) |
void |
setLastUpdateTime(long lastUpdateTime) |
void |
setLockedEntryCount(long lockedEntryCount) |
void |
setLockWaitCount(long lockWaitCount) |
void |
setMarkedAsRemovedEntryCount(long markedAsRemovedEntryCount) |
void |
setMarkedAsRemovedMemoryCost(long markedAsRemovedMemoryCost) |
void |
setMisses(long misses) |
void |
setOperationStats(T operationStats) |
void |
setOwnedEntryCount(long ownedEntryCount) |
void |
setOwnedEntryMemoryCost(long ownedEntryMemoryCost) |
String |
toString() |
void |
writeData(DataOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOperationStatspublic long getOwnedEntryCount()
LocalMapStatsgetOwnedEntryCount in interface LocalMapStatspublic void setOwnedEntryCount(long ownedEntryCount)
public long getBackupEntryCount()
LocalMapStatsgetBackupEntryCount in interface LocalMapStatspublic void setBackupEntryCount(long backupEntryCount)
public long getMarkedAsRemovedEntryCount()
LocalMapStatsgetMarkedAsRemovedEntryCount in interface LocalMapStatspublic void setMarkedAsRemovedEntryCount(long markedAsRemovedEntryCount)
public long getOwnedEntryMemoryCost()
LocalMapStatsgetOwnedEntryMemoryCost in interface LocalMapStatspublic void setOwnedEntryMemoryCost(long ownedEntryMemoryCost)
public long getBackupEntryMemoryCost()
LocalMapStatsgetBackupEntryMemoryCost in interface LocalMapStatspublic void setBackupEntryMemoryCost(long backupEntryMemoryCost)
public long getMarkedAsRemovedMemoryCost()
LocalMapStatsgetMarkedAsRemovedMemoryCost in interface LocalMapStatspublic void setMarkedAsRemovedMemoryCost(long markedAsRemovedMemoryCost)
public long getCreationTime()
LocalMapStatsgetCreationTime in interface LocalMapStatspublic void setCreationTime(long creationTime)
public long getLastAccessTime()
LocalMapStatsgetLastAccessTime in interface LocalMapStatspublic void setLastAccessTime(long lastAccessTime)
public long getLastUpdateTime()
LocalMapStatsgetLastUpdateTime in interface LocalMapStatspublic void setLastUpdateTime(long lastUpdateTime)
public long getLastEvictionTime()
LocalMapStatsgetLastEvictionTime in interface LocalMapStatspublic void setLastEvictionTime(long lastEvictionTime)
public long getHits()
LocalMapStatsgetHits in interface LocalMapStatspublic void setHits(long hits)
public long getMisses()
LocalMapStatsgetMisses in interface LocalMapStatspublic void setMisses(long misses)
public long getLockedEntryCount()
LocalMapStatsgetLockedEntryCount in interface LocalMapStatspublic void setLockedEntryCount(long lockedEntryCount)
public long getLockWaitCount()
LocalMapStatsgetLockWaitCount in interface LocalMapStatspublic void setLockWaitCount(long lockWaitCount)
public long getDirtyEntryCount()
LocalMapStatsgetDirtyEntryCount in interface LocalMapStatspublic void setDirtyEntryCount(long l)
public final T getOperationStats()
LocalInstanceStatsgetOperationStats in interface LocalInstanceStats<T extends LocalInstanceOperationStats>public final void setOperationStats(T operationStats)
public final void writeData(DataOutput out) throws IOException
writeData in interface DataSerializableIOExceptionpublic final void readData(DataInput in) throws IOException
readData in interface DataSerializableIOExceptionCopyright © 2008-2013 Hazelcast, Inc. All Rights Reserved.