|
||||||||||
| 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 LocalCacheStatspublic float getCacheHitPercentage()
LocalCacheStats
getCacheHitPercentage in interface LocalCacheStatspublic long getCacheMisses()
LocalCacheStats
getCacheMisses in interface LocalCacheStatspublic float getCacheMissPercentage()
LocalCacheStats
getCacheMissPercentage in interface LocalCacheStatspublic long getCacheGets()
LocalCacheStats
getCacheGets in interface LocalCacheStatspublic long getCachePuts()
LocalCacheStats
getCachePuts in interface LocalCacheStatspublic long getCacheRemovals()
LocalCacheStats
getCacheRemovals in interface LocalCacheStatspublic long getCacheEvictions()
LocalCacheStats
getCacheEvictions in interface LocalCacheStatspublic float getAverageGetTime()
LocalCacheStats
getAverageGetTime in interface LocalCacheStatspublic float getAveragePutTime()
LocalCacheStats
getAveragePutTime in interface LocalCacheStatspublic float getAverageRemoveTime()
LocalCacheStats
getAverageRemoveTime in interface LocalCacheStatspublic long getCreationTime()
getCreationTime in interface LocalInstanceStatspublic 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 | |||||||||