public final class UnlimitedConcurrentCache extends Object implements MemoizeCache<Object,Object>
Constructor and Description |
---|
UnlimitedConcurrentCache() |
Modifier and Type | Method and Description |
---|---|
void |
cleanUpNullReferences()
Replying on the ConcurrentHashMap thread-safe iteration implementation the method will remove all entries holding
SoftReferences to gc-evicted objects.
|
Object |
get(Object key) |
Object |
put(Object key,
Object value) |
public Object put(Object key, Object value)
put
in interface MemoizeCache<Object,Object>
public void cleanUpNullReferences()
cleanUpNullReferences
in interface MemoizeCache<Object,Object>