public interface PoolableStore extends Store
Pool
.CLUSTER_COHERENT, NODE_COHERENT
Modifier and Type | Method and Description |
---|---|
boolean |
evictFromOnDisk(int count,
long size)
Perform eviction to release on-disk resources
|
boolean |
evictFromOnHeap(int count,
long size)
Perform eviction to release on-heap resources
|
long |
getApproximateDiskByteSize()
Return the approximate disk size in bytes
|
long |
getApproximateDiskCountSize()
Return the approximate disk size
|
float |
getApproximateDiskHitRate()
Return the approximate disk hit rate
|
float |
getApproximateDiskMissRate()
Return the approximate disk miss rate
|
long |
getApproximateHeapByteSize()
Return the approximate heap size in bytes
|
long |
getApproximateHeapCountSize()
Return the approximate heap size
|
float |
getApproximateHeapHitRate()
Return the approximate heap hit rate
|
float |
getApproximateHeapMissRate()
Return the approximate heap miss rate
|
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
boolean evictFromOnHeap(int count, long size)
count
- the number of elements to evictsize
- the size in bytes to free (hint)boolean evictFromOnDisk(int count, long size)
count
- the number of elements to evictsize
- the size in bytes to free (hint)float getApproximateDiskHitRate()
float getApproximateDiskMissRate()
long getApproximateDiskCountSize()
long getApproximateDiskByteSize()
float getApproximateHeapHitRate()
float getApproximateHeapMissRate()
long getApproximateHeapCountSize()
long getApproximateHeapByteSize()
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.