com.bea.p13n.cache
Interface CacheStats

All Known Subinterfaces:
Cache

public interface CacheStats

Interface to provide statistics on the cache.


Method Summary
 long getHitCount()
          Get hit count.
 int getHitRate()
          Returns the integer percentage of requests which found a non-expired value.
 long getMissCount()
          Get miss count.
 void resetStats()
          Reset stats.
 

Method Detail

resetStats

void resetStats()
Reset stats. Miss count and hit count reset to zero.


getHitCount

long getHitCount()
Get hit count.

Returns
long

getMissCount

long getMissCount()
Get miss count.

Returns
long

getHitRate

int getHitRate()
Returns the integer percentage of requests which found a non-expired value.



Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.