01: package com.completex.objective.components.ocache;
02:
03: import com.completex.objective.components.persistency.transact.TransactionListener;
04:
05: /**
06: * Transaction Sensitive Cache.
07: * Implemenations can invalidate modified cache entries upon transaction.commit()/rollback().
08: *
09: * @author Gennady Krizhevsky
10: */
11: public interface OdalTransactionSensitiveCache extends
12: TransactionListener, OdalCache {
13: /**
14: * Schedules entry removal upon transaction end
15: *
16: * @param key
17: */
18: void invalidateEntry(Object key);
19: }
|