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

Variable Index

 o badRevalidations
Number of unsuccessfull revalidations.
 o goodRevalidations
Number of succesfull revalidations.
 o hits
Number of cache hits.
 o misses
Number of cache misses.
 o start_time
The start time, as aa number of milliseconds since Java epoch.

Method Index

 o getBadRevalidations()
Number of bad revalidations.
 o getGoodRevalidations()
Number of good revalidations.
 o getHits()
Get the number of successfull hits.
 o getMisses()
Get the number of cache misses.
 o getStartTime()
Get the start time as the number of milliseconds since Java epoch.
 o incrBadRevalidations()
Increment the number of bad revalidations.
 o incrGoodRevalidations()
Increment the number of good revalidations.
 o incrHits()
Increment the number of hits.
 o incrMisses()
Increment the number of misses.

Variables

 o hits
  protected int hits
Number of cache hits.
 o misses
  protected int misses
Number of cache misses.
 o goodRevalidations
  protected int goodRevalidations
Number of succesfull revalidations.
 o badRevalidations
  protected int badRevalidations
Number of unsuccessfull revalidations.
 o start_time
  protected long start_time
The start time, as aa number of milliseconds since Java epoch.

Methods

 o incrHits
  protected final synchronized void incrHits()
Increment the number of hits.
 o incrMisses
  protected final synchronized void incrMisses()
Increment the number of misses.
 o incrGoodRevalidations
  protected final synchronized void incrGoodRevalidations()
Increment the number of good revalidations.
 o incrBadRevalidations
  protected final synchronized void incrBadRevalidations()
Increment the number of bad revalidations.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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