| 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. | 
| Modifier and Type | Method and 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. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SplitBrainProtectionExceptionAn exception thrown when the cluster size is below the defined threshold. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | TransactionTimedOutExceptionThrown when a transaction has timed out. | 
| Modifier and Type | Method and 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) | 
Copyright © 2020 Hazelcast, Inc.. All rights reserved.