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

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

getAddCount

long getAddCount()
Returns:
the number of addEntry operations

getInsertCount

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

getRemoveCount

long getRemoveCount()
Returns:
the number of remove operations

getGetCount

long getGetCount()
Returns:
the number of get attempts

getHitCount

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

getMaximumEntryCount

long getMaximumEntryCount()
get historic maximum entry count

Returns:
maximumEntryCount

resetCounters

void resetCounters()
reset all counters

Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice