AerospikeException.Commit Class

Exception thrown when a transaction commit fails. Commit Exception has similar behavior to AggregateException. InnerExceptions might be populated if mutliple exceptions contribute to the failure.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
C#
public sealed class Commit : AerospikeException
Inheritance
Object    Exception    AerospikeException    AerospikeException.Commit

Constructors

AerospikeException.Commit(CommitError.CommitErrorType, BatchRecord[], BatchRecord[])Initializes a new instance of the AerospikeException.Commit class
AerospikeException.Commit(CommitError.CommitErrorType, BatchRecord[], BatchRecord[], Exception)Initializes a new instance of the AerospikeException.Commit class
AerospikeException.Commit(CommitError.CommitErrorType, BatchRecord[], BatchRecord[], Exception[])Initializes a new instance of the AerospikeException.Commit class

Properties

BaseMessage Return base message without extra metadata.
(Inherited from AerospikeException)
InDoubt Is it possible that write command may have completed.
(Inherited from AerospikeException)
InnerExceptions Gets a read-only collection of the Exception instances that caused the current exception.
Iteration Number of attempts before failing.
(Inherited from AerospikeException)
Message Get Commit message with records.
(Overrides AerospikeException.Message)
Node Last node used.
(Inherited from AerospikeException)
Policy Command policy.
(Inherited from AerospikeException)
Result Get integer result code.
(Inherited from AerospikeException)

Methods

KeepConnection Should connection be put back into pool.
(Inherited from AerospikeException)
ShouldSerializeNode Signal the Newtonsoft JSON serializer that Node should not be serialized. There is no need to call this method directly.
(Inherited from AerospikeException)

Fields

Error Error status of the attempted commit.
RollRecords Roll forward/backward result for each write key in the transaction. May be null if failure occurred before roll forward/backward.
VerifyRecords Verify result for each read key in the transaction. May be null if failure occurred before verify.

See Also