com.hazelcast.client.spi

## Interface ClientTransactionContext

- All Superinterfaces:
    TransactionalTaskContext, TransactionContext
  All Known Implementing Classes:
    TransactionContextProxy, XATransactionContextProxy

      public interface ClientTransactionContext
      extends TransactionContext

  Provides a context to perform transactional operations: beginning/committing transactions, but also retrieving transactional data-structures like the `TransactionalMap`. Provides client instance and client connection proxies that need to be accessed for sending invocations.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.hazelcast.client.impl.clientside.HazelcastClientInstanceImpl` | `getClient()`
    `ClientConnection` | `getConnection()`

    - ### Methods inherited from interface com.hazelcast.transaction.TransactionContext

      `beginTransaction, commitTransaction, getTxnId, getXaResource, rollbackTransaction`

    - ### Methods inherited from interface com.hazelcast.transaction.TransactionalTaskContext

      `getList, getMap, getMultiMap, getQueue, getSet, getTransactionalObject`

- - ### Method Detail

    - #### getClient

          com.hazelcast.client.impl.clientside.HazelcastClientInstanceImpl getClient()

    - #### getConnection

          ClientConnection getConnection()

Copyright © 2019. All rights reserved.