public interface ClientTransactionManagerService
TransactionContext
s.
Client equivalent of TransactionManagerService
.Modifier and Type | Method and Description |
---|---|
<T> T |
executeTransaction(TransactionalTask<T> task) |
<T> T |
executeTransaction(TransactionOptions options,
TransactionalTask<T> task) |
String |
getGroupName() |
TransactionContext |
newTransactionContext() |
TransactionContext |
newTransactionContext(TransactionOptions options) |
TransactionContext |
newXATransactionContext(Xid xid,
int timeoutInSeconds) |
void |
shutdown() |
<T> T executeTransaction(TransactionalTask<T> task)
<T> T executeTransaction(TransactionOptions options, TransactionalTask<T> task)
TransactionContext newTransactionContext()
TransactionContext newTransactionContext(TransactionOptions options)
TransactionContext newXATransactionContext(Xid xid, int timeoutInSeconds)
xid
- branch qualifiertimeoutInSeconds
- transaction timeout in secondsvoid shutdown()
String getGroupName()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.