Dashboard Builder Commons 6.0.0.Beta1

org.jboss.dashboard.database.cache.custom
Class CacheMonitor

java.lang.Object
  extended by org.jboss.dashboard.database.cache.custom.CacheMonitor

public class CacheMonitor
extends Object


Constructor Summary
protected CacheMonitor(long cacheSize)
           
 
Method Summary
 void allElementsEvicted()
           
 void elementAdded()
           
 void elementEvicted()
           
 CacheStatistics getCacheStatistics()
           
 void registerCacheHit()
           
 void registerCacheMiss()
           
protected  void resetStatistics()
          Clear statistics
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheMonitor

protected CacheMonitor(long cacheSize)
Method Detail

resetStatistics

protected void resetStatistics()
Clear statistics


getCacheStatistics

public CacheStatistics getCacheStatistics()

elementAdded

public void elementAdded()

elementEvicted

public void elementEvicted()

allElementsEvicted

public void allElementsEvicted()

registerCacheHit

public void registerCacheHit()

registerCacheMiss

public void registerCacheMiss()

Dashboard Builder Commons 6.0.0.Beta1

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.