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: 276 $ $Date: 2005-10-01 10:41:03 +0200 (Sat, 01 Oct 2005) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleFlushStrategy
public SimpleFlushStrategy()
rowAssociated
public void rowAssociated(CacheRow row)
- Specified by:
rowAssociated
in interface CacheFlushStrategy
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
Copyright © -2006 The Codehaus. All Rights Reserved.