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.
Namespace: Hazelcast.Transaction
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.2
Syntax
public TransactionOptions SetTransactionType( TransactionOptionsTransactionType transactionType )
Parameters
- transactionType
- Type: Hazelcast.TransactionTransactionOptionsTransactionType
the new TransactionType.
Return Value
Type: TransactionOptionsthe updated TransactionOptions.
See Also