org.apache.xalan.xsltc.dom
Class DocumentCache.CachedDocument

java.lang.Object
  extended by org.apache.xalan.xsltc.dom.DocumentCache.CachedDocument
Enclosing class:
DocumentCache

public final class DocumentCache.CachedDocument
extends java.lang.Object


Field Summary
private  long _accessCount
           
private  long _buildTime
           
private  DOMEnhancedForDTM _dom
           
private  long _firstReferenced
           
private  long _lastChecked
           
private  long _lastModified
           
private  long _lastReferenced
           
 
Constructor Summary
DocumentCache.CachedDocument(java.lang.String uri)
          Constructor - load document and initialise statistics
 
Method Summary
 long getAccessCount()
           
 DOM getDocument()
           
 long getEstimatedSize()
           
 long getFirstReferenced()
           
 long getLastChecked()
           
 long getLastModified()
           
 long getLastReferenced()
           
 long getLatency()
           
 void incAccessCount()
           
 void loadDocument(java.lang.String uri)
          Loads the document and updates build-time (latency) statistics
 void setLastChecked(long t)
           
 void setLastModified(long t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_firstReferenced

private long _firstReferenced

_lastReferenced

private long _lastReferenced

_accessCount

private long _accessCount

_lastModified

private long _lastModified

_lastChecked

private long _lastChecked

_buildTime

private long _buildTime

_dom

private DOMEnhancedForDTM _dom
Constructor Detail

DocumentCache.CachedDocument

public DocumentCache.CachedDocument(java.lang.String uri)
Constructor - load document and initialise statistics

Method Detail

loadDocument

public void loadDocument(java.lang.String uri)
Loads the document and updates build-time (latency) statistics


getDocument

public DOM getDocument()

getFirstReferenced

public long getFirstReferenced()

getLastReferenced

public long getLastReferenced()

getAccessCount

public long getAccessCount()

incAccessCount

public void incAccessCount()

getLastModified

public long getLastModified()

setLastModified

public void setLastModified(long t)

getLatency

public long getLatency()

getLastChecked

public long getLastChecked()

setLastChecked

public void setLastChecked(long t)

getEstimatedSize

public long getEstimatedSize()