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 |
SplitBrainProtectionException
An exception thrown when the cluster size is below the defined threshold.
|
Modifier and Type | Class and Description |
---|---|
class |
TransactionTimedOutException
Thrown 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 © 2021 Hazelcast, Inc.. All rights reserved.