Class SoftReferenceMemoryCache<K,V>

java.lang.Object
org.apache.commons.jcs3.engine.memory.AbstractMemoryCache<K,V>
org.apache.commons.jcs3.engine.memory.soft.SoftReferenceMemoryCache<K,V>
All Implemented Interfaces:
IMemoryCache<K,V>

public class SoftReferenceMemoryCache<K,V> extends AbstractMemoryCache<K,V>
A JCS IMemoryCache that has SoftReference to all its values. This cache does not respect ICompositeCacheAttributes.getMaxObjects() as overflowing is handled by Java GC.

The cache also has strong references to a maximum number of objects given by the maxObjects parameter