org.terracotta.modules.ehcache.presentation.model
Class CacheStatisticsModel

java.lang.Object
  extended by org.terracotta.modules.ehcache.presentation.model.CacheStatisticsModel

public class CacheStatisticsModel
extends Object


Field Summary
static String[] ATTRS
           
static String[] HEADERS
           
static String[] MBEAN_ATTRS
           
 
Constructor Summary
CacheStatisticsModel(Map<String,Object> attributes)
           
CacheStatisticsModel(String cacheName)
           
 
Method Summary
 void add(CacheStatisticsModel cacheStats)
           
 long getCacheHitCount()
           
 double getCacheHitRatio()
           
 long getCacheMissCount()
           
 String getCacheName()
           
 long getEvictedCount()
           
 long getExpiredCount()
           
 long getInMemorySize()
           
 long getOnDiskSize()
           
 long getPutCount()
           
 long getRemovedCount()
           
 String getShortName()
           
 long getUpdateCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MBEAN_ATTRS

public static final String[] MBEAN_ATTRS

ATTRS

public static final String[] ATTRS

HEADERS

public static final String[] HEADERS
Constructor Detail

CacheStatisticsModel

public CacheStatisticsModel(String cacheName)

CacheStatisticsModel

public CacheStatisticsModel(Map<String,Object> attributes)
Method Detail

add

public void add(CacheStatisticsModel cacheStats)

getCacheName

public String getCacheName()

getShortName

public String getShortName()

getCacheHitRatio

public double getCacheHitRatio()

getCacheHitCount

public long getCacheHitCount()

getCacheMissCount

public long getCacheMissCount()

getPutCount

public long getPutCount()

getUpdateCount

public long getUpdateCount()

getExpiredCount

public long getExpiredCount()

getEvictedCount

public long getEvictedCount()

getRemovedCount

public long getRemovedCount()

getInMemorySize

public long getInMemorySize()

getOnDiskSize

public long getOnDiskSize()


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.