com.fatwire.cs.core.cache
Interface RuntimeCacheStats


public interface RuntimeCacheStats

This interface represents for various runtime statistics associated with a cache instance.


Method Summary
 long getClearCount()
          Returns the number of times cache instance was cleared (emptied).
 java.util.Date getCreatedDate()
          Returns the time this cache was created.
 long getHits()
          Returns number of cache hits recorded.
 java.util.Date getLastFlushedDate()
          Returns the time this cache was last flushed.
 java.util.Date getLastPrunedDate()
          Returns the time this cache was last pruned.
 long getMisses()
          Returns number of cache misses recorded.
 long getRemoveCount()
          Returns the number of times cache instances were removed.
 boolean hasINotifyObjects()
          Indicates if the cache contains INotify instances
 

Method Detail

getHits

long getHits()
Returns number of cache hits recorded.

Returns:
number of hits recorded.

getMisses

long getMisses()
Returns number of cache misses recorded.

Returns:
number of misses recorded.

getClearCount

long getClearCount()
Returns the number of times cache instance was cleared (emptied).

Returns:
number of cache clear events recorded.

getRemoveCount

long getRemoveCount()
Returns the number of times cache instances were removed.

Returns:
number of cache remove events recorded.

hasINotifyObjects

boolean hasINotifyObjects()
Indicates if the cache contains INotify instances

Returns:
true if cache has INotify, false otherwise.

getCreatedDate

java.util.Date getCreatedDate()
Returns the time this cache was created.

Returns:
created date

getLastPrunedDate

java.util.Date getLastPrunedDate()
Returns the time this cache was last pruned.

Returns:
last pruned date

getLastFlushedDate

java.util.Date getLastFlushedDate()
Returns the time this cache was last flushed.

Returns:
last flushed date