public final class DocumentCache.CachedDocument extends Object
Constructor and Description |
---|
CachedDocument(String uri)
Constructor - load document and initialise statistics
|
Modifier and Type | Method and Description |
---|---|
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) |
public CachedDocument(String uri)
public void loadDocument(String uri)
public DOM getDocument()
public long getFirstReferenced()
public long getLastReferenced()
public long getAccessCount()
public void incAccessCount()
public long getLastModified()
public void setLastModified(long t)
public long getLatency()
public long getLastChecked()
public void setLastChecked(long t)
public long getEstimatedSize()
Copyright © 2017 JBoss by Red Hat. All rights reserved.