com.mchange.util.impl
Class SoftReferenceObjectCache
java.lang.Object
com.mchange.util.impl.SoftReferenceObjectCache
- All Implemented Interfaces:
- ObjectCache
public abstract class SoftReferenceObjectCache
- extends Object
- implements ObjectCache
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoftReferenceObjectCache
public SoftReferenceObjectCache()
find
public Object find(Object key)
throws Exception
- Specified by:
find
in interface ObjectCache
- Throws:
Exception
isDirty
protected boolean isDirty(Object key,
Object cached)
createFromKey
protected abstract Object createFromKey(Object key)
throws Exception
- Throws:
Exception