|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.runtime.memoize.UnlimitedConcurrentCache
public final class UnlimitedConcurrentCache extends Object
A cache backed by a ConcurrentHashMap
Method Summary | |
---|---|
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)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail |
---|
public void cleanUpNullReferences()
public Object get(Object key)
public Object put(Object key, Object value)
Copyright © 2003-2013 The Codehaus. All rights reserved.