## Uses of Class
com.hazelcast.transaction.TransactionOptions

- Packages that use TransactionOptions
  Package | Description
  --- | ---
  com.hazelcast.client.proxy | This package contains client side proxy implementations of the different Hazelcast data structures and operation types
  com.hazelcast.client.proxy.txn | Contains classes related to proxy for client transactions
  com.hazelcast.client.spi | Contains classes/interfaces related to the Hazelcast client Service Provider Interface.
  com.hazelcast.core | Provides core API interfaces/classes.
  com.hazelcast.instance | This package contains Hazelcast Instance functionality.
  com.hazelcast.transaction | Provides interfaces/classes for Hazelcast transaction support.

- - ### Uses of TransactionOptions in com.hazelcast.client.proxy

    Methods in com.hazelcast.client.proxy with parameters of type TransactionOptions
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClientClusterProxy.`changeClusterState(ClusterState newState, TransactionOptions transactionOptions)`
    `void` | ClientClusterProxy.`changeClusterVersion(Version version, TransactionOptions options)`
    `void` | ClientClusterProxy.`shutdown(TransactionOptions transactionOptions)`

  - ### Uses of TransactionOptions in com.hazelcast.client.proxy.txn

    Constructors in com.hazelcast.client.proxy.txn with parameters of type TransactionOptions
    Constructor and Description
    `TransactionContextProxy(com.hazelcast.client.spi.impl.ClientTransactionManagerServiceImpl transactionManager, TransactionOptions options)`

  - ### Uses of TransactionOptions in com.hazelcast.client.spi

    Methods in com.hazelcast.client.spi with parameters of type TransactionOptions
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | ClientTransactionManagerService.`executeTransaction(TransactionOptions options, TransactionalTask<T> task)`
    `TransactionContext` | ClientTransactionManagerService.`newTransactionContext(TransactionOptions options)`

  - ### Uses of TransactionOptions in com.hazelcast.core

    Methods in com.hazelcast.core with parameters of type TransactionOptions
    Modifier and Type | Method and Description
    --- | ---
    `void` | Cluster.`changeClusterState(ClusterState newState, TransactionOptions transactionOptions)` Changes state of the cluster to the given state transactionally.
    `void` | Cluster.`changeClusterVersion(Version version, TransactionOptions options)` Changes the cluster version transactionally, with the transaction options provided.
    `<T> T` | HazelcastInstance.`executeTransaction(TransactionOptions options, TransactionalTask<T> task)` Executes the given transactional task in current thread using given options and returns the result of the task.
    `TransactionContext` | HazelcastInstance.`newTransactionContext(TransactionOptions options)` Creates a new TransactionContext associated with the current thread with given options.
    `void` | Cluster.`shutdown(TransactionOptions transactionOptions)` Changes state of the cluster to the `ClusterState.PASSIVE` transactionally, then triggers the shutdown process on each node.

  - ### Uses of TransactionOptions in com.hazelcast.instance

    Methods in com.hazelcast.instance with parameters of type TransactionOptions
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | HazelcastInstanceProxy.`executeTransaction(TransactionOptions options, TransactionalTask<T> task)`
    `<T> T` | HazelcastInstanceImpl.`executeTransaction(TransactionOptions options, TransactionalTask<T> task)`
    `TransactionContext` | HazelcastInstanceProxy.`newTransactionContext(TransactionOptions options)`
    `TransactionContext` | HazelcastInstanceImpl.`newTransactionContext(TransactionOptions options)`

  - ### Uses of TransactionOptions in com.hazelcast.transaction

    Methods in com.hazelcast.transaction that return TransactionOptions
    Modifier and Type | Method and Description
    --- | ---
    `static TransactionOptions` | TransactionOptions.`getDefault()` Creates a new TransactionOptions configured with default settings.
    `TransactionOptions` | TransactionOptions.`setDurability(int durability)` Sets the transaction durability.
    `TransactionOptions` | TransactionOptions.`setTimeout(long timeout, TimeUnit timeUnit)` Sets the timeout.
    `TransactionOptions` | TransactionOptions.`setTransactionType(TransactionOptions.TransactionType transactionType)` Sets the `TransactionOptions.TransactionType`.

    Methods in com.hazelcast.transaction with parameters of type TransactionOptions
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | TransactionManagerService.`executeTransaction(TransactionOptions options, TransactionalTask<T> task)`
    `TransactionContext` | TransactionManagerService.`newClientTransactionContext(TransactionOptions options, String clientUuid)`
    `TransactionContext` | TransactionManagerService.`newTransactionContext(TransactionOptions options)`

Copyright © 2019. All rights reserved.