org.tranql.cache
Class EnforceRelationshipsFlushStrategy
java.lang.Object
org.tranql.cache.EnforceRelationshipsFlushStrategy
- All Implemented Interfaces:
- CacheFlushStrategy
public class EnforceRelationshipsFlushStrategy
- extends java.lang.Object
- implements CacheFlushStrategy
This flushing strategy enforces the relationships between the CacheTable
instances to be flushed; it enforces the foreign key constraints that may
exist at the database level.
- 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 |
EnforceRelationshipsFlushStrategy
public EnforceRelationshipsFlushStrategy()
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 © -2010 The Codehaus. All Rights Reserved.