org.tranql.cache
Class SimpleFlushStrategy
java.lang.Object
org.tranql.cache.SimpleFlushStrategy
- All Implemented Interfaces:
- CacheFlushStrategy
- public class SimpleFlushStrategy
- extends java.lang.Object
- implements CacheFlushStrategy
Very basic flush strategy that assumes tables are independent and
does not factor in dependencies caused by relationships.
- Version:
- $Revision: 1.3 $ $Date: 2004/04/20 18:37:15 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleFlushStrategy
public SimpleFlushStrategy()
rowAdded
public void rowAdded(CacheRow row)
- Specified by:
rowAdded
in interface CacheFlushStrategy
rowModified
public void rowModified(CacheRow row)
- Specified by:
rowModified
in interface CacheFlushStrategy
rowRemoved
public void rowRemoved(CacheRow row)
- Specified by:
rowRemoved
in interface CacheFlushStrategy
flush
public void flush(java.util.Map cache)
throws QueryException
- Specified by:
flush
in interface CacheFlushStrategy
- Throws:
QueryException
flush
public void flush(CacheTable table,
java.util.Map tableMap)
throws QueryException
- Throws:
QueryException
Copyright © -2005 The Codehaus. All Rights Reserved.