| Package | Description | 
|---|---|
| com.hazelcast.core | Provides core API interfaces/classes. | 
| com.hazelcast.spring.transaction | Contains Hazelcast transaction classes for Spring Transaction API. | 
| com.hazelcast.transaction | Provides interfaces/classes for Hazelcast transaction support. | 
| Modifier and Type | Method and Description | 
|---|---|
| TransactionContext | HazelcastInstance. newTransactionContext()Creates a new TransactionContext associated with the current thread using default options. | 
| TransactionContext | HazelcastInstance. newTransactionContext(TransactionOptions options)Creates a new TransactionContext associated with the current thread with given options. | 
| Modifier and Type | Method and Description | 
|---|---|
| TransactionContext | HazelcastTransactionManager. getTransactionContext()Returns the transaction context | 
| static TransactionContext | HazelcastTransactionManager. getTransactionContext(HazelcastInstance hazelcastInstance)Returns the transaction context for the given Hazelcast instance bounded to the current thread. | 
| Modifier and Type | Method and Description | 
|---|---|
| TransactionContext | HazelcastXAResource. getTransactionContext()Returns the TransactionContext associated with the current thread. | 
| TransactionContext | TransactionManagerService. newClientTransactionContext(TransactionOptions options,
                           UUID clientUuid) | 
| TransactionContext | TransactionManagerService. newTransactionContext(TransactionOptions options) | 
Copyright © 2020 Hazelcast, Inc.. All rights reserved.