public class DocumentCache extends Cache
DocumentCacheKey,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
DocumentCache() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(DocumentCacheKey pKey)
Get a document from the cache, note this will parse the document
if it does not already exist in the cache.
|
void |
put(DocumentCacheKey pKey,
DocumentCacheValue pValue)
Put a document in the cache
|
void |
remove(DocumentCacheKey pKey)
Remove a document from the cache
|
contains, contains, dump, dump, flush, get, get, get, getAccessCount, getAllElements, getAllKeys, getAllKeysOrdered, getEnablePartialKeyInvalidation, getHitCount, getHitRatio, getKeyPartsForInvalidation, getNumCacheEntries, getNumKeyParts, getTimeoutCount, getUsedCapacity, getUsedMemory, getValidKeysOrdered, hasExpiredValue, hasOtherwiseExpired, isExpiredValueStillGood, main, put, remove, remove, removeByPartialKey, setEnablePartialKeyInvalidation, setKeyPartsForInvalidation, setNumKeyParts, setWaiterAndGetValuegetCacheAdapter, getCacheRemovalListener, getMaximumCacheEntries, getMaximumCacheSize, getMaximumEntryLifetime, getMaximumEntrySize, getSize, getUsedMemoryCapacity, isCaching, setCacheAdapter, setCacheRemovalListener, setMaximumCacheEntries, setMaximumCacheSize, setMaximumEntryLifetime, setMaximumEntrySizeaddLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic java.lang.Object get(DocumentCacheKey pKey) throws java.lang.Exception
pKey - A DocumentCacheKey.java.lang.Exceptionpublic void put(DocumentCacheKey pKey, DocumentCacheValue pValue)
pKey - A DocumentCacheKey.pValue - A DocumentCacheValue.public void remove(DocumentCacheKey pKey)
pKey - A DocumentCacheKey.