Aerospike LINDPad Driver

IATransaction Members

The IATransaction type exposes the following members.

Methods


  Name Description
Public method Abort
Abort and rollback the given multi-record transaction.

Requires server version 8.0+

Public method Commit
Attempt to commit the given multi-record transaction. First, the expected record versions are sent to the server nodes for verification.If all nodes return success, the command is committed. Otherwise, the transaction is retried based on CommitRetries.

Requires server version 8.0+

Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RecordState(Key)
Returns the TransactionRecordStates of a record's key. This is only valid when the State is Active.
Public method RecordState(APrimaryKey)
Returns the TransactionRecordStates of a record's key. This is only valid when the State is Active.
Public method RecordState(ARecord)
Returns the TransactionRecordStates of a record's key. This is only valid when the State is Active.
Public method ToString (Inherited from Object.)

Properties


  Name Description
Public property AbortStatus
Returns the status of the last Abort()()()() action.
Public property CommitRetries
Gets or sets the commit retries on certain commit exceptions/errors. It can be set up to the time of the Commit()()()(). If this value is 0, no retries are allowed and an RetryException occurred.
Public property CommitStatus
Returns the status of the last Commit()()()() action.
Public property MRTTimeoutSecs
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.
Public property Parent
The parent (Namespace instance, ANamespaceAccess) of this transaction. Could be a ATransaction.
Public property RetrySleepMS
Gets or sets the retry sleep in milliseconds. The sleep occurs between retries. If zero, no sleep occurs.
Public property State
Returns the current state of the transaction.
Public property TransactionId
Returns the transaction identifier.
Public property Txn
Gets the aerospike Txn instance or null to indicate that it is not within a transaction.