public class InfinispanBatch extends Object implements TransactionBatch
TransactionBatch that associates and exposes the underlying transaction.| Constructor and Description |
|---|
InfinispanBatch(Transaction tx) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this batch.
|
void |
discard()
Discards this batch.
|
Transaction |
getTransaction()
Returns the transaction associated with this batch
|
TransactionBatch |
interpose()
Returns an interposed batch.
|
public InfinispanBatch(Transaction tx)
public Transaction getTransaction()
TransactionBatchgetTransaction in interface TransactionBatchpublic TransactionBatch interpose()
TransactionBatchinterpose in interface TransactionBatchpublic void discard()
Batchpublic void close()
Batchclose in interface AutoCloseableclose in interface BatchCopyright © 2022 JBoss by Red Hat. All rights reserved.