public final class DiskBackedMemoryStore extends FrontEndCacheTier<MemoryStore,DiskStore>
authority, cache
attributeExtractors
CLUSTER_COHERENT, NODE_COHERENT
Modifier | Constructor and Description |
---|---|
private |
DiskBackedMemoryStore(CacheConfiguration cacheConfiguration,
MemoryStore cache,
DiskStore authority,
SearchManager searchManager) |
Modifier and Type | Method and Description |
---|---|
static Store |
create(Ehcache cache,
Pool onHeapPool,
Pool onDiskPool)
Create a DiskBackedMemoryStore instance
|
private static DiskStore |
createDiskStore(Ehcache cache,
Pool onHeapPool,
Pool onDiskPool) |
private static MemoryStore |
createMemoryStore(Ehcache cache,
Pool onHeapPool) |
java.lang.Object |
getMBean()
Optional implementation specific MBean exposed by the store.
|
boolean |
notifyEvictionFromCache(java.io.Serializable key)
Whether evicting this from the cache should fire when evicting from upper tiers
|
bufferFull, containsKey, containsKeyInMemory, containsKeyOffHeap, containsKeyOnDisk, copyElementForReadIfNeeded, copyElementForWriteIfNeeded, dispose, expireElements, flush, get, getAllLocks, getInMemoryEvictionPolicy, getInMemorySize, getInMemorySizeInBytes, getInternalContext, getKeys, getLockFor, getOffHeapSize, getOffHeapSizeInBytes, getOnDiskSize, getOnDiskSizeInBytes, getQuiet, getSize, getStatus, getTerracottaClusteredSize, hasAbortedSizeOf, isCached, isEvictionCandidate, isPinned, put, putIfAbsent, putWithWriter, recalculateSize, remove, removeAll, removeElement, removeWithWriter, replace, replace, setInMemoryEvictionPolicy, setPinned, unpinAll
addStoreListener, executeQuery, getAll, getAllQuiet, getEventListenerList, getSearchAttribute, isCacheCoherent, isClusterCoherent, isNodeCoherent, putAll, removeAll, removeStoreListener, setAttributeExtractors, setNodeCoherent, waitUntilClusterCoherent
private DiskBackedMemoryStore(CacheConfiguration cacheConfiguration, MemoryStore cache, DiskStore authority, SearchManager searchManager)
public static Store create(Ehcache cache, Pool onHeapPool, Pool onDiskPool)
cache
- the cacheonHeapPool
- the pool tracking on-heap usageonDiskPool
- the pool tracking on-disk usageprivate static MemoryStore createMemoryStore(Ehcache cache, Pool onHeapPool)
private static DiskStore createDiskStore(Ehcache cache, Pool onHeapPool, Pool onDiskPool)
public java.lang.Object getMBean()
public boolean notifyEvictionFromCache(java.io.Serializable key)
notifyEvictionFromCache
in class FrontEndCacheTier<MemoryStore,DiskStore>
key
- the key to the element