org.jopendocument.util.cache
Class CacheWatcher<K,D>
java.lang.Object
org.jopendocument.util.cache.CacheWatcher<K,D>
- Type Parameters:
K
- cache key type.D
- source data type, eg SQLTable.
public abstract class CacheWatcher<K,D>
- extends Object
A watcher invalidates cache results when its data is modified.
CacheWatcher
protected CacheWatcher(ICache<K,?,D> c,
D data)
getData
public final D getData()
die
public final void die()
dying
protected void dying()
clearCache
protected final void clearCache()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2010 jOpenDocument All Rights Reserved.