|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PoolableStore
A poolable store reports its resource usage to a Pool
.
Field Summary |
---|
Fields inherited from interface net.sf.ehcache.store.Store |
---|
CLUSTER_COHERENT, NODE_COHERENT |
Method Summary | |
---|---|
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 |
Method Detail |
---|
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()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |