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 java.lang.Object
implements ObjectCache


Constructor Summary
NoGCObjectCache()
           
 
Method Summary
protected abstract  java.lang.Object createFromKey(java.lang.Object key)
           
 java.lang.Object find(java.lang.Object key)
           
protected  boolean isDirty(java.lang.Object key, java.lang.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 java.lang.Object find(java.lang.Object key)
                      throws java.lang.Exception
Specified by:
find in interface ObjectCache
Throws:
java.lang.Exception

isDirty

protected boolean isDirty(java.lang.Object key,
                          java.lang.Object cached)

createFromKey

protected abstract java.lang.Object createFromKey(java.lang.Object key)
                                           throws java.lang.Exception
Throws:
java.lang.Exception