Class SoftCache<K,V>

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

public class SoftCache<K,V> extends AbstractMap<K,V>
Deprecated.
should be replaced by Cache from Guava
SoftReferences are reaped if no strong references are left and the java VM is running out of memory. Most caches in the kernel use this.