org.codehaus.groovy.runtime.memoize.UnlimitedConcurrentCache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of groovy-all Show documentation
Show all versions of groovy-all Show documentation
Groovy: A powerful, dynamic language for the JVM
package org.codehaus.groovy.runtime.memoize;
import java.lang.ref.SoftReference;
import java.util.Iterator;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* A cache backed by a ConcurrentHashMap
*
* @author Vaclav Pech
*/
public final class UnlimitedConcurrentCache implements MemoizeCache