Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2008 BEA Systems, Inc. All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 BEA Systems, Inc. All Rights Reserved