com.bea.cache.jcache
Interface CacheStatistics


public interface CacheStatistics

This is a helper class to query statistics related to a cache. For entry level statistics, refer to CacheEntry


Method Summary
 void clearStatistics()
          Clear the statistical data and start afresh
 int getCacheHits()
          Returns the total number of cache requests that were serviced from existing key value mappings
 int getCacheMisses()
          Returns the total number of cache requests that did not have the key-value mapping.
 

Method Detail

getCacheHits

public int getCacheHits()
Returns the total number of cache requests that were serviced from existing key value mappings

getCacheMisses

public int getCacheMisses()
Returns the total number of cache requests that did not have the key-value mapping. The total includes the requests that subsequently caused cache loaders being consulted

clearStatistics

public void clearStatistics()
Clear the statistical data and start afresh


Copyright © 2007 BEA Systems All Rights Reserved.