com.hazelcast.cache.impl
Class CacheStatisticsMXBeanImpl

java.lang.Object
  extended by com.hazelcast.cache.impl.CacheStatisticsMXBeanImpl
All Implemented Interfaces:
Serializable, javax.cache.management.CacheStatisticsMXBean

public class CacheStatisticsMXBeanImpl
extends Object
implements javax.cache.management.CacheStatisticsMXBean, Serializable

Implementation of CacheStatisticsMXBean

In a multi-node cluster, the total cluster statistics can be accumulated
into one by accessing each node's statistics through JMX.

See Also:
Serialized Form

Constructor Summary
CacheStatisticsMXBeanImpl(CacheStatisticsImpl statistics)
           
 
Method Summary
 void clear()
           
 float getAverageGetTime()
           
 float getAveragePutTime()
           
 float getAverageRemoveTime()
           
 long getCacheEvictions()
           
 long getCacheGets()
           
 float getCacheHitPercentage()
           
 long getCacheHits()
           
 long getCacheMisses()
           
 float getCacheMissPercentage()
           
 long getCachePuts()
           
 long getCacheRemovals()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheStatisticsMXBeanImpl

public CacheStatisticsMXBeanImpl(CacheStatisticsImpl statistics)
Method Detail

clear

public void clear()
Specified by:
clear in interface javax.cache.management.CacheStatisticsMXBean

getCacheHits

public long getCacheHits()
Specified by:
getCacheHits in interface javax.cache.management.CacheStatisticsMXBean

getCacheHitPercentage

public float getCacheHitPercentage()
Specified by:
getCacheHitPercentage in interface javax.cache.management.CacheStatisticsMXBean

getCacheMisses

public long getCacheMisses()
Specified by:
getCacheMisses in interface javax.cache.management.CacheStatisticsMXBean

getCacheMissPercentage

public float getCacheMissPercentage()
Specified by:
getCacheMissPercentage in interface javax.cache.management.CacheStatisticsMXBean

getCacheGets

public long getCacheGets()
Specified by:
getCacheGets in interface javax.cache.management.CacheStatisticsMXBean

getCachePuts

public long getCachePuts()
Specified by:
getCachePuts in interface javax.cache.management.CacheStatisticsMXBean

getCacheRemovals

public long getCacheRemovals()
Specified by:
getCacheRemovals in interface javax.cache.management.CacheStatisticsMXBean

getCacheEvictions

public long getCacheEvictions()
Specified by:
getCacheEvictions in interface javax.cache.management.CacheStatisticsMXBean

getAverageGetTime

public float getAverageGetTime()
Specified by:
getAverageGetTime in interface javax.cache.management.CacheStatisticsMXBean

getAveragePutTime

public float getAveragePutTime()
Specified by:
getAveragePutTime in interface javax.cache.management.CacheStatisticsMXBean

getAverageRemoveTime

public float getAverageRemoveTime()
Specified by:
getAverageRemoveTime in interface javax.cache.management.CacheStatisticsMXBean


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.