org.apache.xalan.xsltc.dom

Class DocumentCache.CachedDocument

Enclosing Class:
DocumentCache

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

Constructor Summary

CachedDocument(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(String uri)
Loads the document and updates build-time (latency) statistics
void
setLastChecked(long t)
void
setLastModified(long t)

Constructor Details

CachedDocument

public CachedDocument(String uri)
Constructor - load document and initialise statistics

Method Details

getAccessCount

public long getAccessCount()


getDocument

public DOM getDocument()


getEstimatedSize

public long getEstimatedSize()


getFirstReferenced

public long getFirstReferenced()


getLastChecked

public long getLastChecked()


getLastModified

public long getLastModified()


getLastReferenced

public long getLastReferenced()


getLatency

public long getLatency()


incAccessCount

public void incAccessCount()


loadDocument

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


setLastChecked

public void setLastChecked(long t)


setLastModified

public void setLastModified(long t)


Copyright B) 2004 Apache XML Project. All Rights Reserved.