# com.bea.p13n.cache
CacheStats Interface

public interface CacheStats

Interface to provide statistics on the cache.

All Known Subinterfaces
  `Cache`

## Method Summary

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

## Method Detail

### getHitCount() Method

    public long getHitCount()

Get hit count.

#### Returns

`long`

### getHitRate() Method

    public int getHitRate()

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

### getMissCount() Method

    public long getMissCount()

Get miss count.

#### Returns

`long`

### resetStats() Method

    public void resetStats()

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