| Modifier and Type | Class and Description |
|---|---|
| public class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private XSLTCDTMManager | |
| private SAXParser | |
| private XMLReader | |
| private Map | |
| private int | |
| private String[] | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private final long | |
| public void | |
| private synchronized void | |
| private DocumentCache. | |
| private synchronized void | |
| public DOM | retrieveDocument(String baseURI, String href, Translet trs)
Implements com. Returns a document either by finding it in the cache or downloading it and putting it in the cache. |
| _count | back to summary |
|---|---|
| private int _count | |
| _current | back to summary |
|---|---|
| private int _current | |
| _dtmManager | back to summary |
|---|---|
| private XSLTCDTMManager _dtmManager | |
| _parser | back to summary |
|---|---|
| private SAXParser _parser | |
| _reader | back to summary |
|---|---|
| private XMLReader _reader | |
| _references | back to summary |
|---|---|
| private Map<String, DocumentCache. | |
| _size | back to summary |
|---|---|
| private int _size | |
| _URIs | back to summary |
|---|---|
| private String[] _URIs | |
| REFRESH_INTERVAL | back to summary |
|---|---|
| private static final int REFRESH_INTERVAL | |
| DocumentCache | back to summary |
|---|---|
| public DocumentCache(int size) throws SAXException DocumentCache constructor | |
| DocumentCache | back to summary |
|---|---|
| public DocumentCache(int size, XSLTCDTMManager dtmManager) throws SAXException DocumentCache constructor | |
| getLastModified | back to summary |
|---|---|
| private final long getLastModified(String uri) Returns the time-stamp for a document's last update | |
| getStatistics | back to summary |
|---|---|
| public void getStatistics(PrintWriter out) Outputs the cache statistics | |
| insertDocument | back to summary |
|---|---|
| private synchronized void insertDocument(String uri, DocumentCache. | |
| lookupDocument | back to summary |
|---|---|
| private DocumentCache. | |
| replaceDocument | back to summary |
|---|---|
| private synchronized void replaceDocument(String uri, DocumentCache. | |
| retrieveDocument | back to summary |
|---|---|
| public DOM retrieveDocument(String baseURI, String href, Translet trs) Implements com. Returns a document either by finding it in the cache or downloading it and putting it in the cache.
| |
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private long | |
| private DOMEnhancedForDTM | |
| private long | |
| private long | |
| private long | |
| private long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public DOM | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public void | |
| public void | |
| public void | |
| public void |
| _accessCount | back to summary |
|---|---|
| private long _accessCount | |
| _buildTime | back to summary |
|---|---|
| private long _buildTime | |
| _dom | back to summary |
|---|---|
| private DOMEnhancedForDTM _dom | |
| _firstReferenced | back to summary |
|---|---|
| private long _firstReferenced | |
| _lastChecked | back to summary |
|---|---|
| private long _lastChecked | |
| _lastModified | back to summary |
|---|---|
| private long _lastModified | |
| _lastReferenced | back to summary |
|---|---|
| private long _lastReferenced | |
| CachedDocument | back to summary |
|---|---|
| public CachedDocument(String uri) Constructor - load document and initialise statistics | |
| getAccessCount | back to summary |
|---|---|
| public long getAccessCount() | |
| getDocument | back to summary |
|---|---|
| public DOM getDocument() | |
| getEstimatedSize | back to summary |
|---|---|
| public long getEstimatedSize() | |
| getFirstReferenced | back to summary |
|---|---|
| public long getFirstReferenced() | |
| getLastChecked | back to summary |
|---|---|
| public long getLastChecked() | |
| getLastModified | back to summary |
|---|---|
| public long getLastModified() | |
| getLastReferenced | back to summary |
|---|---|
| public long getLastReferenced() | |
| getLatency | back to summary |
|---|---|
| public long getLatency() | |
| incAccessCount | back to summary |
|---|---|
| public void incAccessCount() | |
| loadDocument | back to summary |
|---|---|
| public void loadDocument(String uri) Loads the document and updates build-time (latency) statistics | |
| setLastChecked | back to summary |
|---|---|
| public void setLastChecked(long t) | |
| setLastModified | back to summary |
|---|---|
| public void setLastModified(long t) | |