public class MemoryOnlyStore extends FrontEndCacheTier<NullStore,MemoryStore>
Modifier and Type | Class and Description |
---|---|
protected static class |
MemoryOnlyStore.BruteForceSearchManager
Brute force search implementation
|
authority, cache
attributeExtractors
CLUSTER_COHERENT, NODE_COHERENT
Modifier | Constructor and Description |
---|---|
protected |
MemoryOnlyStore(CacheConfiguration cacheConfiguration,
MemoryStore authority,
SearchManager searchManager)
Create a MemoryOnlyStore
|
Modifier and Type | Method and Description |
---|---|
static Store |
create(Ehcache cache,
Pool onHeapPool)
Create an instance of MemoryOnlyStore
|
Policy |
getInMemoryEvictionPolicy()
{inheritDoc}
|
Object |
getMBean()
Optional implementation specific MBean exposed by the store.
|
void |
setInMemoryEvictionPolicy(Policy policy)
{inheritDoc}
|
bufferFull, containsKey, containsKeyInMemory, containsKeyOffHeap, containsKeyOnDisk, copyElementForReadIfNeeded, copyElementForWriteIfNeeded, dispose, expireElements, flush, get, getAllLocks, getInMemorySize, getInMemorySizeInBytes, getInternalContext, getKeys, getLockFor, getOffHeapSize, getOffHeapSizeInBytes, getOnDiskSize, getOnDiskSizeInBytes, getQuiet, getSize, getStatus, getTerracottaClusteredSize, hasAbortedSizeOf, isCached, isEvictionCandidate, isPinned, notifyEvictionFromCache, put, putIfAbsent, putWithWriter, recalculateSize, remove, removeAll, removeElement, removeWithWriter, replace, replace, setPinned, unpinAll
addStoreListener, executeQuery, getAll, getAllQuiet, getEventListenerList, getSearchAttribute, isCacheCoherent, isClusterCoherent, isNodeCoherent, putAll, removeAll, removeStoreListener, setAttributeExtractors, setNodeCoherent, waitUntilClusterCoherent
protected MemoryOnlyStore(CacheConfiguration cacheConfiguration, MemoryStore authority, SearchManager searchManager)
cacheConfiguration
- the cache configurationauthority
- the memory storepublic static Store create(Ehcache cache, Pool onHeapPool)
cache
- the cacheonHeapPool
- the on heap poolpublic void setInMemoryEvictionPolicy(Policy policy)
setInMemoryEvictionPolicy
in interface Store
setInMemoryEvictionPolicy
in class FrontEndCacheTier<NullStore,MemoryStore>
policy
- the new policypublic Policy getInMemoryEvictionPolicy()
getInMemoryEvictionPolicy
in interface Store
getInMemoryEvictionPolicy
in class FrontEndCacheTier<NullStore,MemoryStore>
Store.setInMemoryEvictionPolicy(Policy)
public Object getMBean()
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.