Package | Description |
---|---|
com.hazelcast.client.impl.clientside |
Contains most of the client side HazelcastInstance implementation functionality.
|
com.hazelcast.client.proxy |
This package contains client side proxy implementations of the different Hazelcast data structures
and operation types
|
com.hazelcast.client.proxy.txn |
Contains classes related to proxy for client transactions
|
com.hazelcast.client.spi |
Contains classes/interfaces related to the Hazelcast client Service Provider Interface.
|
com.hazelcast.client.spi.impl |
Provides util classes for the Hazelcast client SPI.
|
com.hazelcast.core |
Provides core API interfaces/classes.
|
com.hazelcast.instance |
This package contains Hazelcast Instance functionality.
|
com.hazelcast.internal.cluster.impl |
This package contains the implementation of the cluster functionality.
|
com.hazelcast.transaction |
Provides interfaces/classes for Hazelcast transaction support.
|
com.hazelcast.transaction.impl |
Provides implementation for Hazelcast transaction support.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
HazelcastClientInstanceImpl.executeTransaction(TransactionOptions options,
TransactionalTask<T> task) |
<T> T |
HazelcastClientProxy.executeTransaction(TransactionOptions options,
TransactionalTask<T> task) |
TransactionContext |
HazelcastClientInstanceImpl.newTransactionContext(TransactionOptions options) |
TransactionContext |
HazelcastClientProxy.newTransactionContext(TransactionOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
ClientClusterProxy.changeClusterState(ClusterState newState,
TransactionOptions transactionOptions) |
void |
ClientClusterProxy.changeClusterVersion(Version version,
TransactionOptions options) |
void |
ClientClusterProxy.shutdown(TransactionOptions transactionOptions) |
Constructor and Description |
---|
TransactionContextProxy(ClientTransactionManagerServiceImpl transactionManager,
TransactionOptions options) |
Modifier and Type | Method and Description |
---|---|
<T> T |
ClientTransactionManagerService.executeTransaction(TransactionOptions options,
TransactionalTask<T> task) |
TransactionContext |
ClientTransactionManagerService.newTransactionContext(TransactionOptions options) |
Modifier and Type | Method and Description |
---|---|
<T> T |
ClientTransactionManagerServiceImpl.executeTransaction(TransactionOptions options,
TransactionalTask<T> task) |
TransactionContext |
ClientTransactionManagerServiceImpl.newTransactionContext(TransactionOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
Cluster.changeClusterState(ClusterState newState,
TransactionOptions transactionOptions)
Changes state of the cluster to the given state transactionally.
|
void |
Cluster.changeClusterVersion(Version version,
TransactionOptions options)
Changes the cluster version transactionally, with the transaction options provided.
|
<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.
|
TransactionContext |
HazelcastInstance.newTransactionContext(TransactionOptions options)
Creates a new TransactionContext associated with the current thread with given options.
|
void |
Cluster.shutdown(TransactionOptions transactionOptions)
Changes state of the cluster to the
ClusterState.PASSIVE transactionally, then
triggers the shutdown process on each node. |
Modifier and Type | Method and Description |
---|---|
<T> T |
HazelcastInstanceImpl.executeTransaction(TransactionOptions options,
TransactionalTask<T> task) |
<T> T |
HazelcastInstanceProxy.executeTransaction(TransactionOptions options,
TransactionalTask<T> task) |
TransactionContext |
HazelcastInstanceImpl.newTransactionContext(TransactionOptions options) |
TransactionContext |
HazelcastInstanceProxy.newTransactionContext(TransactionOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
ClusterServiceImpl.changeClusterState(ClusterState newState,
TransactionOptions options) |
void |
ClusterServiceImpl.changeClusterVersion(Version version,
TransactionOptions options) |
void |
ClusterServiceImpl.shutdown(TransactionOptions 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) |
Modifier and Type | Method and Description |
---|---|
<T> T |
TransactionManagerServiceImpl.executeTransaction(TransactionOptions options,
TransactionalTask<T> task) |
Transaction |
TransactionManagerServiceImpl.newAllowedDuringPassiveStateTransaction(TransactionOptions options)
Creates a plain transaction object which can be used while cluster state is
ClusterState.PASSIVE ,
without wrapping it inside a TransactionContext. |
TransactionContext |
TransactionManagerServiceImpl.newClientTransactionContext(TransactionOptions options,
String clientUuid) |
Transaction |
TransactionManagerServiceImpl.newTransaction(TransactionOptions options)
Creates a plain transaction object, without wrapping it
inside a TransactionContext.
|
TransactionContext |
TransactionManagerServiceImpl.newTransactionContext(TransactionOptions options) |
Constructor and Description |
---|
AllowedDuringPassiveStateTransactionImpl(TransactionManagerServiceImpl transactionManagerService,
NodeEngine nodeEngine,
TransactionOptions options,
String txOwnerUuid) |
TransactionImpl(TransactionManagerServiceImpl transactionManagerService,
NodeEngine nodeEngine,
TransactionOptions options,
String txOwnerUuid) |
TransactionImpl(TransactionManagerServiceImpl transactionManagerService,
NodeEngine nodeEngine,
TransactionOptions options,
String txOwnerUuid,
boolean originatedFromClient) |
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.