|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hazelcast.monitor.impl.LocalCacheStatsImpl
public class LocalCacheStatsImpl
Default implementation of LocalCacheStats
This class just provides serialization/deserialization methods to be used in
MemberState
implementation while sending/receiving statistics to/from
Management center.
There are no calculations are done in this class, all statistics gathered from
CacheStatistics
No setter methods are provided, all class fields supposed to be populated either
by a CacheStatistics
or while deserialization process
(fromJson(com.eclipsesource.json.JsonObject)
.
CacheStatistics
Field Summary |
---|
Fields inherited from interface com.hazelcast.monitor.LocalInstanceStats |
---|
STAT_NOT_AVAILABLE |
Constructor Summary | |
---|---|
LocalCacheStatsImpl()
|
|
LocalCacheStatsImpl(CacheStatistics cacheStatistics)
|
Method Summary | |
---|---|
void |
fromJson(com.eclipsesource.json.JsonObject json)
|
float |
getAverageGetTime()
Returns the mean time to execute gets on the cache. |
float |
getAveragePutTime()
Returns the mean time to execute puts on the cache. |
float |
getAverageRemoveTime()
Returns the mean time to execute removes on the cache. |
long |
getCacheEvictions()
Returns the number of evictions on the cache. |
long |
getCacheGets()
Returns the number of gets on the cache. |
float |
getCacheHitPercentage()
Returns the percentage of hits (successful get operations) on the cache. |
long |
getCacheHits()
Returns the number of hits (successful get operations) on the cache. |
long |
getCacheMisses()
Returns the number of missed cache accesses on the cache. |
float |
getCacheMissPercentage()
Returns the percentage of missed cache accesses on the cache. |
long |
getCachePuts()
Returns the number of puts to the queue. |
long |
getCacheRemovals()
Returns the number of removals from the queue. |
long |
getCreationTime()
|
com.eclipsesource.json.JsonObject |
toJson()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LocalCacheStatsImpl()
public LocalCacheStatsImpl(CacheStatistics cacheStatistics)
Method Detail |
---|
public long getCacheHits()
LocalCacheStats
getCacheHits
in interface LocalCacheStats
public float getCacheHitPercentage()
LocalCacheStats
getCacheHitPercentage
in interface LocalCacheStats
public long getCacheMisses()
LocalCacheStats
getCacheMisses
in interface LocalCacheStats
public float getCacheMissPercentage()
LocalCacheStats
getCacheMissPercentage
in interface LocalCacheStats
public long getCacheGets()
LocalCacheStats
getCacheGets
in interface LocalCacheStats
public long getCachePuts()
LocalCacheStats
getCachePuts
in interface LocalCacheStats
public long getCacheRemovals()
LocalCacheStats
getCacheRemovals
in interface LocalCacheStats
public long getCacheEvictions()
LocalCacheStats
getCacheEvictions
in interface LocalCacheStats
public float getAverageGetTime()
LocalCacheStats
getAverageGetTime
in interface LocalCacheStats
public float getAveragePutTime()
LocalCacheStats
getAveragePutTime
in interface LocalCacheStats
public float getAverageRemoveTime()
LocalCacheStats
getAverageRemoveTime
in interface LocalCacheStats
public long getCreationTime()
getCreationTime
in interface LocalInstanceStats
public com.eclipsesource.json.JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(com.eclipsesource.json.JsonObject json)
fromJson
in interface JsonSerializable
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |