Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
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

### getHitCount

    public long getHitCount()

  Get hit count.

  Returns:
    `long`

### getHitRate

    public int getHitRate()

  Returns the integer percentage of requests which found a non-expired value.

### getMissCount

    public long getMissCount()

  Get miss count.

  Returns:
    `long`

### resetStats

    public void resetStats()

  Reset stats. Miss count and hit count reset to zero.

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

Copyright © 2004 BEA Systems, Inc. All Rights Reserved