org.siebengeisslein.util
Class AbstractCache<Key,Result>
java.lang.Object
org.siebengeisslein.util.AbstractCache<Key,Result>
public abstract class AbstractCache<Key,Result>
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCache
public AbstractCache()
getQueue
protected java.lang.ref.ReferenceQueue getQueue()
remove
protected void remove(Key key)
cleanUpQueue
protected void cleanUpQueue()
getFromCache
protected AbstractCache.AbstractEntry getFromCache(Key loid)
getEntry
public Result getEntry(Key key)
throws java.io.IOException,
UnknownOIDException
- Throws:
java.io.IOException
UnknownOIDException
get
protected AbstractCache.AbstractEntry get(Key loid)
throws java.io.IOException,
UnknownOIDException
- Throws:
java.io.IOException
UnknownOIDException
add
protected void add(Key key,
AbstractCache.AbstractEntry value)
assertValid
protected abstract void assertValid(Key loid)
loadValue
protected abstract AbstractCache.AbstractEntry loadValue(Key key)
throws UnknownOIDException,
java.io.IOException
- Throws:
UnknownOIDException
java.io.IOException