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 unsuccessful revalidations.
 o goodRevalidations
Number of succesful revalidations.
 o hits
Number of cache hits.
 o misses
Number of cache misses.
 o notCachableReplies
Number of not cachable replies
 o pendingConnections
Number of pending or dropped connections
 o realHits
the number of straight replies, aka real hits.
 o start_time
The start time, as a number of milliseconds since Java epoch.

Method Index

 o decrPending()
Decrement the number of pending connections
 o getBadRevalidations()
Number of bad revalidations.
 o getGoodRevalidations()
Number of good revalidations.
 o getHits()
Get the number of successful hits.
 o getMisses()
Get the number of cache misses.
 o getNotCachable()
Get the number of replies that were not cachable
 o getPending()
Get the number of pending or dropped connections.
 o getRealHits()
Get the number of real hits.
 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.
 o incrNotCachable()
Increment the number of errors
 o incrPending()
Increment the number of pending connections
 o incrRealHits()
Increment the number of straight replies and decrement the number of pending connection (it is a FINAL reply).

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 succesful revalidations.
 o badRevalidations
  protected int badRevalidations
Number of unsuccessful revalidations.
 o pendingConnections
  protected int pendingConnections
Number of pending or dropped connections
 o notCachableReplies
  protected int notCachableReplies
Number of not cachable replies
 o realHits
  protected int realHits
the number of straight replies, aka real hits.
 o start_time
  protected long start_time
The start time, as a number of milliseconds since Java epoch.

Methods

 o incrNotCachable
  protected final synchronized void incrNotCachable()
Increment the number of errors
 o incrRealHits
  protected final synchronized void incrRealHits()
Increment the number of straight replies and decrement the number of pending connection (it is a FINAL reply).
 o incrPending
  protected final synchronized void incrPending()
Increment the number of pending connections
 o decrPending
  protected final synchronized void decrPending()
Decrement the number of pending connections
 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 getNotCachable
  public int getNotCachable()
Get the number of replies that were not cachable
 o getPending
  public int getPending()
Get the number of pending or dropped connections. This show how many connections are active (ideally) and is used now to keep track of dropped connections
 o getRealHits
  public int getRealHits()
Get the number of real hits. A real hit is a direct answer from the cache without asking for a revalidation.
 o getHits
  public int getHits()
Get the number of successful hits. A hit is sucessful if a cache entry for the target existed before that request. A successful 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