com.sapportals.wcm.util.cache

Interface ICacheStatistics


public interface ICacheStatistics

Provides basic statistical information about a cache instance.


Method Summary
 long getAddCount()
           
 long getEntryCount()
           
 long getGetCount()
           
 long getHitCount()
           
 long getInsertCount()
           
 long getMaximumEntryCount()
          get historic maximum entry count
 long getRemoveCount()
           
 void resetCounters()
          reset all counters
 

Method Detail

getEntryCount

public long getEntryCount()
Returns:
get numbers of entries in the cache

getAddCount

public long getAddCount()
Returns:
the number of addEntry operations

getInsertCount

public long getInsertCount()
Returns:
the number of addEntry operations which insert a new entry

getRemoveCount

public long getRemoveCount()
Returns:
the number of remove operations

getGetCount

public long getGetCount()
Returns:
the number of get attempts

getHitCount

public long getHitCount()
Returns:
the number of successful get attempts

getMaximumEntryCount

public long getMaximumEntryCount()
get historic maximum entry count

Returns:
maximumEntryCount

resetCounters

public void resetCounters()
reset all counters



Copyright 2006 SAP AG Complete Copyright Notice