Class PersistentCache
java.lang.Object
org.apache.jackrabbit.oak.plugins.document.persistentCache.PersistentCache
- All Implemented Interfaces:
 Broadcaster.Listener
A persistent cache for the document store.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intintintstatic PersistentCacheStatsgetPersistentCacheStats(org.apache.jackrabbit.guava.common.cache.Cache<?, ?> cache) <K,V> CacheMap<K, V> voidreceive(ByteBuffer buff) Receive a message.voidsetBroadcastConfig(DynamicBroadcastConfig broadcastConfig) void<K extends CacheValue,V extends CacheValue> 
org.apache.jackrabbit.guava.common.cache.Cache<K,V> wrap(DocumentNodeStore docNodeStore, DocumentStore docStore, org.apache.jackrabbit.guava.common.cache.Cache<K, V> base, CacheType type) <K extends CacheValue,V extends CacheValue> 
org.apache.jackrabbit.guava.common.cache.Cache<K,V> wrap(DocumentNodeStore docNodeStore, DocumentStore docStore, org.apache.jackrabbit.guava.common.cache.Cache<K, V> base, CacheType type, StatisticsProvider statisticsProvider)  
- 
Constructor Details
- 
PersistentCache
 
 - 
 - 
Method Details
- 
close
public void close() - 
wrap
public <K extends CacheValue,V extends CacheValue> org.apache.jackrabbit.guava.common.cache.Cache<K,V> wrap(DocumentNodeStore docNodeStore, DocumentStore docStore, org.apache.jackrabbit.guava.common.cache.Cache<K, V> base, CacheType type)  - 
wrap
public <K extends CacheValue,V extends CacheValue> org.apache.jackrabbit.guava.common.cache.Cache<K,V> wrap(DocumentNodeStore docNodeStore, DocumentStore docStore, org.apache.jackrabbit.guava.common.cache.Cache<K, V> base, CacheType type, StatisticsProvider statisticsProvider)  - 
openMap
 - 
switchGenerationIfNeeded
public void switchGenerationIfNeeded() - 
getMaxSize
public int getMaxSize() - 
getOpenCount
public int getOpenCount() - 
getExceptionCount
public int getExceptionCount() - 
receive
Description copied from interface:Broadcaster.ListenerReceive a message.- Specified by:
 receivein interfaceBroadcaster.Listener- Parameters:
 buff- the buffer
 - 
getPersistentCacheStats
public static PersistentCacheStats getPersistentCacheStats(org.apache.jackrabbit.guava.common.cache.Cache<?, ?> cache)  - 
getBroadcastConfig
 - 
setBroadcastConfig
 
 -