com.mchange.util.impl
Class NoGCObjectCache

java.lang.Object
  extended by com.mchange.util.impl.NoGCObjectCache
All Implemented Interfaces:
ObjectCache

public abstract class NoGCObjectCache
extends Object
implements ObjectCache


Constructor Summary
NoGCObjectCache()
           
 
Method Summary
protected abstract  Object createFromKey(Object key)
           
 Object find(Object key)
           
protected  boolean isDirty(Object key, Object cached)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoGCObjectCache

public NoGCObjectCache()
Method Detail

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