Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2000, 2008, Oracle and/or its affiliates. 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 © 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.