java.lang.Objectcom.cyscape.browserhawk.DashCacheStats
public class DashCacheStats
Class to expose DashCache statistics.
The DashCache feature is available only in BrowserHawk Professional and Enterprise Edition.
BrowserHawk.getDashCacheStats()| Method Summary | |
|---|---|
long |
getAccesses()
Returns the total number of cache requests, including both "hit" and "miss" counts. |
long |
getCleanCount()
Returns the number of clean operations that have occurred. |
long |
getCleanInterval()
Returns the minimum interval at which cleans happen, as a number of milliseconds. |
long |
getCleanTimeout()
Returns the age at which cache entries are removed, as a number of milliseconds. |
boolean |
getEnabled()
Returns whether the DashCache is currently enabled. |
long |
getHits()
Returns the number of cache requests that resulted in a "hit" as a cache match. |
long |
getResetCount()
Returns the number of times the cache has been reset. |
java.util.Date |
getResetTime()
Returns the time of the last cache reset. |
int |
getSize()
Returns the current number of entries held within the DashCache. |
int |
getSizeLimit()
Returns the maximum number of entries the cache will be allowed to hold. |
int |
getSizePeak()
Returns the maximum number of entries that have been held in the cache since its start time. |
java.util.Date |
getStartTime()
Returns a timestamp marking the start of the cache. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean getEnabled()
public long getCleanInterval()
public long getCleanTimeout()
public int getSizeLimit()
public int getSize()
public java.util.Date getStartTime()
public int getSizePeak()
public long getHits()
public long getAccesses()
public long getCleanCount()
public java.util.Date getResetTime()
public long getResetCount()