| |
|
| java.lang.Object com.whirlycott.cache.RecordKeeper
RecordKeeper | public class RecordKeeper implements Serializable(Code) | | Encapsulates runtime stats for a Cache.
author: phil |
calculateQueriesPerSecond | public void calculateQueriesPerSecond()(Code) | | |
getHits | public long getHits()(Code) | | Returns the hits. |
getQueriesPerSecond | public long getQueriesPerSecond()(Code) | | |
getTotalOperations | public long getTotalOperations()(Code) | | Returns the totalOperations. |
incrementHits | public void incrementHits()(Code) | | Increment hits.
|
incrementTotalOperations | public void incrementTotalOperations()(Code) | | Increment the total operation counter.
|
reset | public void reset()(Code) | | Reset the values.
|
setHits | public void setHits(long hits)(Code) | | Parameters: hits - The hits to set. |
startTuneCycle | public void startTuneCycle()(Code) | | |
|
|
|