com.hazelcast.client.spi

## Interface ClientTransactionManagerService

-     public interface ClientTransactionManagerService

  Manages the execution of client transactions and provides `TransactionContext`s. Client equivalent of `TransactionManagerService`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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)`

- - ### Method Detail

    - #### executeTransaction

          <T> T executeTransaction(TransactionalTask<T> task)

    - #### executeTransaction

          <T> T executeTransaction(TransactionOptions options,
                                   TransactionalTask<T> task)

    - #### newTransactionContext

          TransactionContext newTransactionContext()

    - #### newTransactionContext

          TransactionContext newTransactionContext(TransactionOptions options)

    - #### newXATransactionContext

          TransactionContext newXATransactionContext(Xid xid,
                                                     int timeoutInSeconds)

      Parameters:
        `xid` - branch qualifier
        `timeoutInSeconds` - transaction timeout in seconds
      Returns:
        a `TransactionContext` for the supplied branch qualifier

    - #### getGroupName

          String getGroupName()

Copyright © 2020. All rights reserved.