|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.store.cachingtier.PooledBasedBackEnd.PoolParticipant
public static class PooledBasedBackEnd.PoolParticipant
A pool participant to use with this Backend
Constructor Summary | |
---|---|
PooledBasedBackEnd.PoolParticipant(PooledBasedBackEnd<Object,Object> pooledBasedBackEnd)
Creates a pool participant |
Method Summary | |
---|---|
boolean |
evict(int count,
long size)
Perform eviction to release resources |
long |
getApproximateCountSize()
Return the approximate size |
float |
getApproximateHitRate()
Return the approximate hit rate |
float |
getApproximateMissRate()
Return the approximate miss rate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PooledBasedBackEnd.PoolParticipant(PooledBasedBackEnd<Object,Object> pooledBasedBackEnd)
pooledBasedBackEnd
- the backend this participant representsMethod Detail |
---|
public boolean evict(int count, long size)
PoolParticipant
evict
in interface PoolParticipant
count
- the number of elements to evictsize
- the size in bytes to free (hint)
public float getApproximateHitRate()
PoolParticipant
getApproximateHitRate
in interface PoolParticipant
public float getApproximateMissRate()
PoolParticipant
getApproximateMissRate
in interface PoolParticipant
public long getApproximateCountSize()
PoolParticipant
getApproximateCountSize
in interface PoolParticipant
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |