public class LocalMapStatsImpl extends Object implements LocalMapStats
LocalMapStats
STAT_NOT_AVAILABLE
Constructor and Description |
---|
LocalMapStatsImpl() |
Modifier and Type | Method and Description |
---|---|
void |
fromJson(com.eclipsesource.json.JsonObject json) |
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.
|
void |
incrementGetLatencyNanos(long latencyNanos) |
void |
incrementGetLatencyNanos(long delta,
long latencyNanos) |
void |
incrementOtherOperations() |
void |
incrementPutLatencyNanos(long latencyNanos) |
void |
incrementPutLatencyNanos(long delta,
long latencyNanos) |
void |
incrementReceivedEvents() |
void |
incrementRemoveLatencyNanos(long latencyNanos) |
void |
setBackupCount(int backupCount) |
void |
setBackupEntryCount(long backupEntryCount) |
void |
setBackupEntryMemoryCost(long backupEntryMemoryCost) |
void |
setDirtyEntryCount(long dirtyEntryCount) |
void |
setHeapCost(long heapCost) |
void |
setHits(long hits) |
void |
setLastAccessTime(long lastAccessTime) |
void |
setLastUpdateTime(long lastUpdateTime) |
void |
setLockedEntryCount(long lockedEntryCount) |
void |
setNearCacheStats(NearCacheStats nearCacheStats) |
void |
setOwnedEntryCount(long ownedEntryCount) |
void |
setOwnedEntryMemoryCost(long ownedEntryMemoryCost) |
com.eclipsesource.json.JsonObject |
toJson() |
String |
toString() |
long |
total()
Returns the total number of total operations
|
public long getOwnedEntryCount()
LocalMapStats
getOwnedEntryCount
in interface LocalMapStats
public void setOwnedEntryCount(long ownedEntryCount)
public long getBackupEntryCount()
LocalMapStats
getBackupEntryCount
in interface LocalMapStats
public void setBackupEntryCount(long backupEntryCount)
public int getBackupCount()
LocalMapStats
getBackupCount
in interface LocalMapStats
public void setBackupCount(int backupCount)
public long getOwnedEntryMemoryCost()
LocalMapStats
getOwnedEntryMemoryCost
in interface LocalMapStats
public void setOwnedEntryMemoryCost(long ownedEntryMemoryCost)
public long getBackupEntryMemoryCost()
LocalMapStats
getBackupEntryMemoryCost
in interface LocalMapStats
public void setBackupEntryMemoryCost(long backupEntryMemoryCost)
public long getCreationTime()
LocalMapStats
getCreationTime
in interface LocalInstanceStats
getCreationTime
in interface LocalMapStats
public long getLastAccessTime()
LocalMapStats
getLastAccessTime
in interface LocalMapStats
public void setLastAccessTime(long lastAccessTime)
public long getLastUpdateTime()
LocalMapStats
getLastUpdateTime
in interface LocalMapStats
public void setLastUpdateTime(long lastUpdateTime)
public long getHits()
LocalMapStats
getHits
in interface LocalMapStats
public void setHits(long hits)
public long getLockedEntryCount()
LocalMapStats
getLockedEntryCount
in interface LocalMapStats
public void setLockedEntryCount(long lockedEntryCount)
public long getDirtyEntryCount()
LocalMapStats
getDirtyEntryCount
in interface LocalMapStats
public void setDirtyEntryCount(long dirtyEntryCount)
public long total()
LocalMapStats
total
in interface LocalMapStats
public long getPutOperationCount()
LocalMapStats
getPutOperationCount
in interface LocalMapStats
public void incrementPutLatencyNanos(long latencyNanos)
public void incrementPutLatencyNanos(long delta, long latencyNanos)
public long getGetOperationCount()
LocalMapStats
getGetOperationCount
in interface LocalMapStats
public void incrementGetLatencyNanos(long latencyNanos)
public void incrementGetLatencyNanos(long delta, long latencyNanos)
public long getRemoveOperationCount()
LocalMapStats
getRemoveOperationCount
in interface LocalMapStats
public void incrementRemoveLatencyNanos(long latencyNanos)
public long getTotalPutLatency()
LocalMapStats
getTotalPutLatency
in interface LocalMapStats
public long getTotalGetLatency()
LocalMapStats
getTotalGetLatency
in interface LocalMapStats
public long getTotalRemoveLatency()
LocalMapStats
getTotalRemoveLatency
in interface LocalMapStats
public long getMaxPutLatency()
LocalMapStats
getMaxPutLatency
in interface LocalMapStats
public long getMaxGetLatency()
LocalMapStats
getMaxGetLatency
in interface LocalMapStats
public long getMaxRemoveLatency()
LocalMapStats
getMaxRemoveLatency
in interface LocalMapStats
public long getOtherOperationCount()
LocalMapStats
getOtherOperationCount
in interface LocalMapStats
public void incrementOtherOperations()
public long getEventOperationCount()
LocalMapStats
getEventOperationCount
in interface LocalMapStats
public void incrementReceivedEvents()
public long getHeapCost()
LocalMapStats
InMemoryFormat.OBJECT
is used, the heapcost is zero.getHeapCost
in interface LocalMapStats
public void setHeapCost(long heapCost)
public NearCacheStats getNearCacheStats()
LocalMapStats
getNearCacheStats
in interface LocalMapStats
public void setNearCacheStats(NearCacheStats nearCacheStats)
public com.eclipsesource.json.JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(com.eclipsesource.json.JsonObject json)
fromJson
in interface JsonSerializable
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.