org.riotfamily.cachius
Class CachiusStatistics

java.lang.Object
  extended by org.riotfamily.cachius.CachiusStatistics

public class CachiusStatistics
extends Object


Constructor Summary
protected CachiusStatistics(CacheService service)
           
 
Method Summary
protected  void addHit()
           
protected  void addMiss()
           
 long getAverageOverflowInterval()
           
 int getCapacity()
           
 long getHits()
           
 long getMaxInvalidationTime()
           
 long getMaxUpdateTime()
           
 long getMisses()
           
 int getNumberOfTags()
           
 int getSize()
           
 String getSlowestUpdate()
           
 void invalidateAllItems()
           
protected  void itemUpdated(CacheItem item, long time)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachiusStatistics

protected CachiusStatistics(CacheService service)
Method Detail

addHit

protected void addHit()

addMiss

protected void addMiss()

itemUpdated

protected void itemUpdated(CacheItem item,
                           long time)

reset

public void reset()

getMaxUpdateTime

public long getMaxUpdateTime()

getSlowestUpdate

public String getSlowestUpdate()

getHits

public long getHits()

getMisses

public long getMisses()

getCapacity

public int getCapacity()

getSize

public int getSize()

getNumberOfTags

public int getNumberOfTags()

getAverageOverflowInterval

public long getAverageOverflowInterval()

getMaxInvalidationTime

public long getMaxInvalidationTime()

invalidateAllItems

public void invalidateAllItems()