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()
TransactionBatch
getTransaction
in interface TransactionBatch
public TransactionBatch interpose()
TransactionBatch
interpose
in interface TransactionBatch
public void discard()
Batch
public void close()
Batch
close
in interface AutoCloseable
close
in interface Batch
Copyright © 2018 JBoss by Red Hat. All rights reserved.