Uses of Class
com.hazelcast.transaction.TransactionOptions
Packages that use TransactionOptions
Package
Description
This package contains the cluster functionality.
Provides core API interfaces/classes.
Provides interfaces/classes for Hazelcast transaction support.
-
Uses of TransactionOptions in com.hazelcast.cluster
Methods in com.hazelcast.cluster with parameters of type TransactionOptionsModifier and TypeMethodDescriptionvoid
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.void
Cluster.shutdown
(TransactionOptions transactionOptions) Changes state of the cluster to theClusterState.PASSIVE
transactionally, then triggers the shutdown process on each node. -
Uses of TransactionOptions in com.hazelcast.core
Methods in com.hazelcast.core with parameters of type TransactionOptionsModifier and TypeMethodDescription<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.HazelcastInstance.newTransactionContext
(TransactionOptions options) Creates a new TransactionContext associated with the current thread with given options. -
Uses of TransactionOptions in com.hazelcast.transaction
Methods in com.hazelcast.transaction that return TransactionOptionsModifier and TypeMethodDescriptionstatic TransactionOptions
TransactionOptions.getDefault()
Creates a new TransactionOptions configured with default settings.TransactionOptions.setDurability
(int durability) Sets the transaction durability.TransactionOptions.setTimeout
(long timeout, TimeUnit timeUnit) Sets the timeout.TransactionOptions.setTransactionType
(TransactionOptions.TransactionType transactionType) Sets theTransactionOptions.TransactionType
.Methods in com.hazelcast.transaction with parameters of type TransactionOptionsModifier and TypeMethodDescription<T> T
TransactionManagerService.executeTransaction
(TransactionOptions options, TransactionalTask<T> task) TransactionManagerService.newClientTransactionContext
(TransactionOptions options, UUID clientUuid) TransactionManagerService.newTransactionContext
(TransactionOptions options)