org.apache.cassandra.cache
Class JMXAggregatingCache

java.lang.Object
  extended by org.apache.cassandra.cache.JMXAggregatingCache
All Implemented Interfaces:
JMXAggregatingCacheMBean

public class JMXAggregatingCache
extends java.lang.Object
implements JMXAggregatingCacheMBean


Constructor Summary
JMXAggregatingCache(java.lang.Iterable<IAggregatableCacheProvider> caches, java.lang.String table, java.lang.String name)
           
 
Method Summary
 int getCapacity()
           
 long getHits()
           
 double getRecentHitRate()
           
 long getRequests()
           
 int getSize()
           
 void setCapacity(int capacity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXAggregatingCache

public JMXAggregatingCache(java.lang.Iterable<IAggregatableCacheProvider> caches,
                           java.lang.String table,
                           java.lang.String name)
Method Detail

getCapacity

public int getCapacity()
Specified by:
getCapacity in interface JMXAggregatingCacheMBean

setCapacity

public void setCapacity(int capacity)
Specified by:
setCapacity in interface JMXAggregatingCacheMBean

getSize

public int getSize()
Specified by:
getSize in interface JMXAggregatingCacheMBean

getRequests

public long getRequests()
Specified by:
getRequests in interface JMXAggregatingCacheMBean

getHits

public long getHits()
Specified by:
getHits in interface JMXAggregatingCacheMBean

getRecentHitRate

public double getRecentHitRate()
Specified by:
getRecentHitRate in interface JMXAggregatingCacheMBean


Copyright © 2010 The Apache Software Foundation