| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PoolParticipant
A poolable store reports its resource usage to a Pool.
| 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 | 
| Method Detail | 
|---|
boolean evict(int count,
              long size)
count - the number of elements to evictsize - the size in bytes to free (hint)
float getApproximateHitRate()
float getApproximateMissRate()
long getApproximateCountSize()
| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||