Interface Batch

All Superinterfaces:
AutoCloseable
All Known Subinterfaces:
TransactionBatch
All Known Implementing Classes:
ThreadLocalTransactionBatch

public interface Batch extends AutoCloseable
Instruments the batching of cache operations. Write-only cache operations invoked while this batch is active (i.e. not suspended) will defer invocation until close(). Calling discard() will cause close() to undo previous write operations and discard any accumulated write-only operations (similar to setRollbackOnly() semantics).
Author:
Paul Ferraro