|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.monitor.impl.LocalMapStatsImpl
public class LocalMapStatsImpl
Default implementation of LocalMapStats
| Field Summary |
|---|
| Fields inherited from interface com.hazelcast.monitor.LocalInstanceStats |
|---|
STAT_NOT_AVAILABLE |
| Constructor Summary | |
|---|---|
LocalMapStatsImpl()
|
|
| Method Summary | |
|---|---|
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 todo in object mode object size is zero. |
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 |
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. |
NearCacheStatsImpl |
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 |
incrementBackupEntryCount(long backupEntryCount)
|
void |
incrementBackupEntryMemoryCost(long backupEntryMemoryCost)
|
void |
incrementDirtyEntryCount(long dirtyEntryCount)
|
void |
incrementGets(long latency)
|
void |
incrementHeapCost(long heapCost)
|
void |
incrementHits(long hits)
|
void |
incrementLockedEntryCount(long lockedEntryCount)
|
void |
incrementOtherOperations()
|
void |
incrementOwnedEntryCount(long ownedEntryCount)
|
void |
incrementOwnedEntryMemoryCost(long ownedEntryMemoryCost)
|
void |
incrementPuts(long latency)
|
void |
incrementReceivedEvents()
|
void |
incrementRemoves(long latency)
|
void |
init()
Only init these fields for every LocalMapStatsProvider.createLocalMapStats(java.lang.String)
call since they represent current map state. |
void |
setBackupCount(int backupCount)
|
void |
setBackupEntryCount(long backupEntryCount)
|
void |
setHits(long hits)
|
void |
setLastAccessTime(long lastAccessTime)
|
void |
setLastUpdateTime(long lastUpdateTime)
|
void |
setLockedEntryCount(long lockedEntryCount)
|
void |
setNearCacheStats(NearCacheStatsImpl nearCacheStats)
|
void |
setOwnedEntryCount(long ownedEntryCount)
|
com.eclipsesource.json.JsonObject |
toJson()
|
String |
toString()
|
long |
total()
Returns the total number of total operations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocalMapStatsImpl()
| Method Detail |
|---|
public void init()
LocalMapStatsProvider.createLocalMapStats(java.lang.String)
call since they represent current map state.
However other fields hold historical data from the creation of a map like #putCount#getCount
and they should not be touched here.
LocalMapStatsProvider.createLocalMapStats(java.lang.String)public long getOwnedEntryCount()
LocalMapStats
getOwnedEntryCount in interface LocalMapStatspublic void setOwnedEntryCount(long ownedEntryCount)
public void incrementOwnedEntryCount(long ownedEntryCount)
public long getBackupEntryCount()
LocalMapStats
getBackupEntryCount in interface LocalMapStatspublic void setBackupEntryCount(long backupEntryCount)
public void incrementBackupEntryCount(long backupEntryCount)
public int getBackupCount()
LocalMapStats
getBackupCount in interface LocalMapStatspublic void setBackupCount(int backupCount)
public long getOwnedEntryMemoryCost()
LocalMapStats
getOwnedEntryMemoryCost in interface LocalMapStatspublic void incrementOwnedEntryMemoryCost(long ownedEntryMemoryCost)
public long getBackupEntryMemoryCost()
LocalMapStats
getBackupEntryMemoryCost in interface LocalMapStatspublic void incrementBackupEntryMemoryCost(long backupEntryMemoryCost)
public long getCreationTime()
LocalMapStats
getCreationTime in interface LocalInstanceStatsgetCreationTime in interface LocalMapStatspublic long getLastAccessTime()
LocalMapStats
getLastAccessTime in interface LocalMapStatspublic void setLastAccessTime(long lastAccessTime)
public long getLastUpdateTime()
LocalMapStats
getLastUpdateTime in interface LocalMapStatspublic void setLastUpdateTime(long lastUpdateTime)
public long getHits()
LocalMapStats
getHits in interface LocalMapStatspublic void setHits(long hits)
public void incrementHits(long hits)
public long getLockedEntryCount()
LocalMapStats
getLockedEntryCount in interface LocalMapStatspublic void setLockedEntryCount(long lockedEntryCount)
public void incrementLockedEntryCount(long lockedEntryCount)
public long getDirtyEntryCount()
LocalMapStats
getDirtyEntryCount in interface LocalMapStatspublic void incrementDirtyEntryCount(long dirtyEntryCount)
public long total()
LocalMapStats
total in interface LocalMapStatspublic long getPutOperationCount()
LocalMapStats
getPutOperationCount in interface LocalMapStatspublic void incrementPuts(long latency)
public long getGetOperationCount()
LocalMapStats
getGetOperationCount in interface LocalMapStatspublic void incrementGets(long latency)
public long getRemoveOperationCount()
LocalMapStats
getRemoveOperationCount in interface LocalMapStatspublic void incrementRemoves(long latency)
public long getTotalPutLatency()
LocalMapStats
getTotalPutLatency in interface LocalMapStatspublic long getTotalGetLatency()
LocalMapStats
getTotalGetLatency in interface LocalMapStatspublic long getTotalRemoveLatency()
LocalMapStats
getTotalRemoveLatency in interface LocalMapStatspublic long getMaxPutLatency()
LocalMapStats
getMaxPutLatency in interface LocalMapStatspublic long getMaxGetLatency()
LocalMapStats
getMaxGetLatency in interface LocalMapStatspublic long getMaxRemoveLatency()
LocalMapStats
getMaxRemoveLatency in interface LocalMapStatspublic long getOtherOperationCount()
LocalMapStats
getOtherOperationCount in interface LocalMapStatspublic void incrementOtherOperations()
public long getEventOperationCount()
LocalMapStats
getEventOperationCount in interface LocalMapStatspublic void incrementReceivedEvents()
public void incrementHeapCost(long heapCost)
public long getHeapCost()
LocalMapStats
getHeapCost in interface LocalMapStatspublic NearCacheStatsImpl getNearCacheStats()
LocalMapStats
getNearCacheStats in interface LocalMapStatspublic void setNearCacheStats(NearCacheStatsImpl nearCacheStats)
public com.eclipsesource.json.JsonObject toJson()
toJson in interface JsonSerializablepublic void fromJson(com.eclipsesource.json.JsonObject json)
fromJson in interface JsonSerializablepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||