Click or drag to resize

TransactionOptionsSetDurability Method

Sets the transaction durability.

Namespace:  Hazelcast.Transaction
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.3
Syntax
public TransactionOptions SetDurability(
	int durability
)

Parameters

durability
Type: SystemInt32
the durability

Return Value

Type: TransactionOptions
the updated TransactionOptions.
Exceptions
ExceptionCondition
ArgumentExceptionif durability smaller than 0.
Remarks
Sets the transaction durability. The durability is the number of machines that can take over if a member fails during a transaction commit or rollback. This value only has meaning when TransactionType.TwoPhase is selected.
See Also