|
Groovy 1.8.1 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.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-2010 The Codehaus. All rights reserved.