Class WeakCache<K,V>

java.lang.Object
java.util.AbstractMap<K,V>
org.cristalise.kernel.utils.WeakCache<K,V>
Type Parameters:
K - key
V - value
All Implemented Interfaces:
Map<K,V>

public class WeakCache<K,V> extends AbstractMap<K,V>
Deprecated.
should be replaced by Cache from Guava
WeakReferences are reaped if no strong references are left next time the gc has a chance. The ClusterStorageManager caches can optionally use this one, for high volume imports etc