|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.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 represents| Method Detail |
|---|
public boolean evict(int count,
long size)
PoolParticipant
evict in interface PoolParticipantcount - the number of elements to evictsize - the size in bytes to free (hint)
public float getApproximateHitRate()
PoolParticipant
getApproximateHitRate in interface PoolParticipantpublic float getApproximateMissRate()
PoolParticipant
getApproximateMissRate in interface PoolParticipantpublic long getApproximateCountSize()
PoolParticipant
getApproximateCountSize in interface PoolParticipant
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||