atg.rview
Class CacheInfo

java.lang.Object
  extended by atg.rview.CacheInfo

public abstract class CacheInfo
extends java.lang.Object

Contains information about the runtime state of the caching system, and of each of the individual caches.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
CacheInfo()
           
 
Method Summary
abstract  int getAccessCount()
          Returns the number of times the caches were accessed
abstract  int getBytesUsed()
          Returns the number of bytes currently held by cache entries.
abstract  CacheInfoEntry[] getCacheInfoEntries()
          Returns the list of cache info entries representing the state of each individual cache.
abstract  int getCacheInvalidationCount()
          Returns the number of times a cache was entirely invalidated
abstract  int getCapacity()
          Returns the maximum number of bytes that can be held by cache entries.
abstract  int getEntryInvalidationCount()
          Returns the number of times a cache entry was invalidated
abstract  int getHitCount()
          Returns the number of accesses that were cache hits
abstract  int getMissCount()
          Returns the number of accesses that were cache misses
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Constructor Detail

CacheInfo

public CacheInfo()
Method Detail

getCapacity

public abstract int getCapacity()
Returns the maximum number of bytes that can be held by cache entries.


getBytesUsed

public abstract int getBytesUsed()
Returns the number of bytes currently held by cache entries.


getAccessCount

public abstract int getAccessCount()
Returns the number of times the caches were accessed


getHitCount

public abstract int getHitCount()
Returns the number of accesses that were cache hits


getMissCount

public abstract int getMissCount()
Returns the number of accesses that were cache misses


getCacheInvalidationCount

public abstract int getCacheInvalidationCount()
Returns the number of times a cache was entirely invalidated


getEntryInvalidationCount

public abstract int getEntryInvalidationCount()
Returns the number of times a cache entry was invalidated


getCacheInfoEntries

public abstract CacheInfoEntry[] getCacheInfoEntries()
Returns the list of cache info entries representing the state of each individual cache.