IATransaction Members
The IATransaction type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Abort |
Abort and rollback the given multi-record transaction.
Requires server version 8.0+ |
![]() |
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+ |
![]() |
Equals(System.Object) | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
RecordState(Key) | |
![]() |
RecordState(APrimaryKey) | |
![]() |
RecordState(ARecord) | |
![]() |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() |
AbortStatus |
Returns the status of the last Abort()()()() action.
|
![]() |
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.
|
![]() |
CommitStatus |
Returns the status of the last Commit()()()() action.
|
![]() |
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.
|
![]() |
Parent |
The parent (Namespace instance, ANamespaceAccess) of this transaction.
Could be a ATransaction.
|
![]() |
RetrySleepMS |
Gets or sets the retry sleep in milliseconds.
The sleep occurs between retries.
If zero, no sleep occurs.
|
![]() |
State |
Returns the current state of the transaction.
|
![]() |
TransactionId |
Returns the transaction identifier.
|
![]() |
Txn |
Gets the aerospike Txn instance or null to indicate that it is not within a transaction.
|