Contains the configuration for a transaction
Inheritance Hierarchy
Hazelcast.TransactionTransactionOptions
Namespace: Hazelcast.Transaction
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.2
Syntax
The TransactionOptions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TransactionOptions | Creates a new default configured TransactionsOptions. |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetDefault | Creates a new TransactionOptions configured with default settings. | |
GetDurability | Gets the transaction durability. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetTimeoutMillis | Gets the timeout in milliseconds. | |
GetTransactionType |
Gets the
TransactionType
.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
SetDurability | Sets the transaction durability. | |
SetTimeout | Sets the timeout. | |
SetTransactionType |
Sets the
TransactionType
.
A local transaction is less safe than a two phase transaction; when a member fails during the commit
of a local transaction, it could be that some of the changes are committed, while others are not and this
can leave your system in an inconsistent state.
| |
ToString | (Overrides ObjectToString.) |
See Also