public interface PoolParticipant
Pool
.Modifier and Type | Method and Description |
---|---|
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
|
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()
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.