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) |
<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 secondsTransactionContext
for the supplied branch qualifierString getGroupName()
Copyright © 2018 Hazelcast, Inc.. All rights reserved.