Aerospike LINDPad Driver

ATransaction..::..CreateTransaction Method

Creates an new Aerospike transaction.

Namespace:  Aerospike.Database.LINQPadDriver.Extensions
Assembly:  Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)

Syntax


public ATransaction CreateTransaction(
	int mrtTimeout,
	int commitRetries,
	int retrySleepMS
)

Parameters

mrtTimeout
Type: Int32
MRT timeout in seconds. The timer starts when the MRT monitor record is created. This occurs when the first command in the MRT is executed. If the timeout is reached before a commit or abort is called, the server will expire and rollback the MRT. Defaults to 10 seconds.
commitRetries
Type: Int32
See CommitRetries property.
retrySleepMS
Type: Int32
See RetrySleepMS property.

Return Value

Transaction Namespace instance