public interface TerracottaStore extends Store
CLUSTER_COHERENT, NODE_COHERENT
Modifier and Type | Method and Description |
---|---|
WriteBehind |
createWriteBehind()
WriteBehind createWriteBehind |
Set |
getLocalKeys()
Returns set of keys from the cache which are present in the node locally.
|
CacheConfiguration.TransactionalMode |
getTransactionalMode()
Get the transactional mode of this store.
|
void |
notifyCacheEventListenersChanged()
Notify the underlying store that some change has occured in the set of registered cache listeners.
|
void |
quickClear()
Remove all the contents of the store.
|
int |
quickSize()
Get an approximate count of elements in the store.
|
Element |
unsafeGet(Object key)
Returns the local value associated with the key.
|
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, getSearchAttributes, getSize, getStatus, getTerracottaClusteredSize, hasAbortedSizeOf, isCacheCoherent, isClusterCoherent, isNodeCoherent, put, putAll, putIfAbsent, putWithWriter, recalculateSize, remove, removeAll, removeAll, removeElement, removeStoreListener, removeWithWriter, replace, replace, setAttributeExtractors, setInMemoryEvictionPolicy, setNodeCoherent, waitUntilClusterCoherent
Element unsafeGet(Object key)
key
- the keyvoid quickClear()
int quickSize()
Set getLocalKeys()
CacheConfiguration.TransactionalMode getTransactionalMode()
CacheConfiguration.TransactionalMode
WriteBehind createWriteBehind()
WriteBehind
createWriteBehindvoid notifyCacheEventListenersChanged()
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.