public CacheMap(boolean lru, int max, int size, float load,
int concurrencyLevel) {
if (size < 0)
size = 500;
softMap = new ConcurrentReferenceHashMap(ReferenceMap.HARD,
ReferenceMap.SOFT, size, load) {
public void overflowRemoved(Object key, Object value) {
softMapOverflowRemoved(key, value);
}