| Package | Description | 
|---|---|
| com.hazelcast.client | |
| com.hazelcast.core | 
 Provides core API interfaces/classes. 
 | 
| com.hazelcast.transaction | 
 Provides interfaces/classes for Hazelcast transaction support. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
HazelcastClient.executeTransaction(TransactionOptions options,
                  TransactionalTask<T> task)  | 
<T> T | 
HazelcastClientProxy.executeTransaction(TransactionOptions options,
                  TransactionalTask<T> task)  | 
TransactionContext | 
HazelcastClient.newTransactionContext(TransactionOptions options)  | 
TransactionContext | 
HazelcastClientProxy.newTransactionContext(TransactionOptions options)  | 
| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
HazelcastInstance.executeTransaction(TransactionOptions options,
                  TransactionalTask<T> task)
Executes 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. 
 | 
| 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. | 
| 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 © 2017 Hazelcast, Inc.. All Rights Reserved.