Class w3c.www.protocol.http.cache.cacheStatistics
All Packages Class Hierarchy This Package Previous Next Index
Class w3c.www.protocol.http.cache.cacheStatistics
java.lang.Object
|
+----w3c.www.protocol.http.cache.cacheStatistics
- public class cacheStatistics
- extends Object
-
badRevalidations
- Number of unsuccessfull revalidations.
-
goodRevalidations
- Number of succesfull revalidations.
-
hits
- Number of cache hits.
-
misses
- Number of cache misses.
-
start_time
- The start time, as aa number of milliseconds since Java epoch.
-
getBadRevalidations()
- Number of bad revalidations.
-
getGoodRevalidations()
- Number of good revalidations.
-
getHits()
- Get the number of successfull hits.
-
getMisses()
- Get the number of cache misses.
-
getStartTime()
- Get the start time as the number of milliseconds since Java epoch.
-
incrBadRevalidations()
- Increment the number of bad revalidations.
-
incrGoodRevalidations()
- Increment the number of good revalidations.
-
incrHits()
- Increment the number of hits.
-
incrMisses()
- Increment the number of misses.
hits
protected int hits
- Number of cache hits.
misses
protected int misses
- Number of cache misses.
goodRevalidations
protected int goodRevalidations
- Number of succesfull revalidations.
badRevalidations
protected int badRevalidations
- Number of unsuccessfull revalidations.
start_time
protected long start_time
- The start time, as aa number of milliseconds since Java epoch.
incrHits
protected final synchronized void incrHits()
- Increment the number of hits.
incrMisses
protected final synchronized void incrMisses()
- Increment the number of misses.
incrGoodRevalidations
protected final synchronized void incrGoodRevalidations()
- Increment the number of good revalidations.
incrBadRevalidations
protected final synchronized void incrBadRevalidations()
- Increment the number of bad revalidations.
getHits
public int getHits()
- Get the number of successfull hits.
A hit is sucessfull if a cache entry for the target existed before
that request. A successfull hit can then account for either
no revalidation at all, a good or a bad revalidation (but at least for
one of these).
- Returns:
- The number of hits.
getMisses
public int getMisses()
- Get the number of cache misses.
A miss happens one a request is made for a resource that doesn't exist
in the cache yet.
- Returns:
- The number of misses.
getGoodRevalidations
public int getGoodRevalidations()
- Number of good revalidations.
A good revalidation is revalidation for which the origin server emitted
a
NOT_MODIFIED
status code.
- Returns:
- The number of good revalidations.
getBadRevalidations
public int getBadRevalidations()
- Number of bad revalidations.
A bad revalidation is a revalidation that triggered a full reply from
the origin server.
- Returns:
- The number of bad revalidations.
getStartTime
public long getStartTime()
- Get the start time as the number of milliseconds since Java epoch.
- Returns:
- A long number of milliseconds.
All Packages Class Hierarchy This Package Previous Next Index