|
Groovy example source code file (UnlimitedConcurrentCache.java)
The Groovy UnlimitedConcurrentCache.java source code
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<Object, Object> {
private final ConcurrentHashMap<Object, Object> cache = new ConcurrentHashMap
Other Groovy examples (source code examples)Here is a short list of links related to this Groovy UnlimitedConcurrentCache.java source code file: |
Other websites by Alvin Alexander:
Life/living in Alaska (OneMansAlaska.com)
How I Sold My Business (HowISoldMyBusiness.com)
Copyright 1998-2011 Alvin Alexander, devdaily.com
All Rights Reserved.