Uses of Class
com.hazelcast.transaction.TransactionException
Package | Description |
---|---|
com.hazelcast.core |
Provides core API interfaces/classes.
|
com.hazelcast.splitbrainprotection |
Contains classes related to cluster split brain protection.
|
com.hazelcast.transaction |
Provides interfaces/classes for Hazelcast transaction support.
|
-
Uses of TransactionException in com.hazelcast.core
Methods in com.hazelcast.core that throw TransactionException Modifier and Type Method Description <T> T
HazelcastInstance. executeTransaction(TransactionalTask<T> task)
Executes the given transactional task in current thread using default options and returns the result of the task.<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. -
Uses of TransactionException in com.hazelcast.splitbrainprotection
Subclasses of TransactionException in com.hazelcast.splitbrainprotection Modifier and Type Class Description class
SplitBrainProtectionException
An exception thrown when the cluster size is below the defined threshold. -
Uses of TransactionException in com.hazelcast.transaction
Subclasses of TransactionException in com.hazelcast.transaction Modifier and Type Class Description class
TransactionTimedOutException
Thrown when a transaction has timed out.Methods in com.hazelcast.transaction that throw TransactionException Modifier and Type Method Description void
TransactionContext. commitTransaction()
Commits a transaction.T
TransactionalTask. execute(TransactionalTaskContext context)
Executes the transactional logic.<T> T
TransactionManagerService. executeTransaction(TransactionOptions options, TransactionalTask<T> task)