public interface TierableStore extends Store
CLUSTER_COHERENT, NODE_COHERENT
Modifier and Type | Method and Description |
---|---|
void |
fill(Element e)
Add this element to the cache if the key is already present or the add
can succeed without resorting to eviction.
|
Set |
getPresentPinnedKeys()
Returns all the keys that are pinned, for which there is a mapping present
|
boolean |
isPersistent()
Is this store persistent (data survives a JVM restart)
|
boolean |
isTierPinned()
Is this TierableStore pinned ?
|
boolean |
removeIfNotPinned(Object key)
This method will only remove if the element or the store is not pinned and the key is present in the store
|
void |
removeNoReturn(Object key)
Removes an item from the cache.
|
addStoreListener, bufferFull, containsKey, containsKeyInMemory, containsKeyOffHeap, containsKeyOnDisk, dispose, executeQuery, expireElements, flush, get, getAll, getAllQuiet, getInMemoryEvictionPolicy, getInMemorySize, getInMemorySizeInBytes, getInternalContext, getKeys, getMBean, getOffHeapSize, getOffHeapSizeInBytes, getOnDiskSize, getOnDiskSizeInBytes, getQuiet, getSearchAttribute, getSize, getStatus, getTerracottaClusteredSize, hasAbortedSizeOf, isCacheCoherent, isClusterCoherent, isNodeCoherent, isPinned, put, putAll, putIfAbsent, putWithWriter, recalculateSize, remove, removeAll, removeAll, removeElement, removeStoreListener, removeWithWriter, replace, replace, setAttributeExtractors, setInMemoryEvictionPolicy, setNodeCoherent, setPinned, unpinAll, waitUntilClusterCoherent
void fill(Element e)
e
- element to be addedboolean removeIfNotPinned(Object key)
key
- the key to the elementStore.remove(Object)
void removeNoReturn(Object key)
boolean isTierPinned()
Set getPresentPinnedKeys()
boolean isPersistent()
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.