org.shiftone.cache.decorator.jmx
Class JmxCacheSummary

java.lang.Object
  extended byorg.shiftone.cache.decorator.jmx.JmxCacheSummary
All Implemented Interfaces:
JmxCacheSummaryMBean

public class JmxCacheSummary
extends java.lang.Object
implements JmxCacheSummaryMBean

Version:
$Revision: 1.3 $
Author:
$Author: jeffdrost $

Constructor Summary
JmxCacheSummary()
           
 
Method Summary
(package private)  void add(JmxCache cache)
           
 java.lang.String getBiggestCache()
           
 int getCacheCount()
           
 double getTotalHitRatio()
           
 long getTotalSize()
           
 java.lang.String summary()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmxCacheSummary

public JmxCacheSummary()
Method Detail

add

void add(JmxCache cache)

getCacheCount

public int getCacheCount()
Specified by:
getCacheCount in interface JmxCacheSummaryMBean

getBiggestCache

public java.lang.String getBiggestCache()
Specified by:
getBiggestCache in interface JmxCacheSummaryMBean

summary

public java.lang.String summary()
Specified by:
summary in interface JmxCacheSummaryMBean

getTotalSize

public long getTotalSize()
Specified by:
getTotalSize in interface JmxCacheSummaryMBean

getTotalHitRatio

public double getTotalHitRatio()
Specified by:
getTotalHitRatio in interface JmxCacheSummaryMBean