| java.lang.Object de.schlund.pfixxml.targets.cachestat.AdvanceCacheStatistic
AdvanceCacheStatistic | public class AdvanceCacheStatistic (Code) | | Provides a queue with QUEUE_SIZE entries which
are of type CacheHitMissPair. It provides a
pointer which points to the current element. The
current element is used for recording cache hits and missses.
After NEXT_TICK (in ms) the next entry in the queue is selected(
if there was an old entry, it will be overridden).
author: Joerg Haecker |
Inner Class :class AdvanceTask extends TimerTask | |
AdvanceCacheStatistic | public AdvanceCacheStatistic(Timer timer, int queuesize, int queueticks)(Code) | | |
advance | synchronized void advance()(Code) | | |
getHits | public long getHits()(Code) | | |
getMisses | public long getMisses()(Code) | | |
registerHit | synchronized void registerHit()(Code) | | |
registerMiss | synchronized void registerMiss()(Code) | | |
|
|