Interface TransactionCache<T extends AbstractTransaction,I>
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
InfinispanTransactionCache,MemoryTransactionCache
public interface TransactionCache<T extends AbstractTransaction,I> extends AutoCloseable
Generalized contract that all transaction cache implementations should implement.- Author:
- Chris Cranford
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()Tget(String transactionId)ScngetMinimumScn()booleanisEmpty()Iterator<I>iterator()voidput(String transactionId, T transaction)Tremove(String transactionId)intsize()-
Methods inherited from interface java.lang.AutoCloseable
close
-
-