Package com.aerospike.client
Class AerospikeException.Commit
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aerospike.client.AerospikeException
com.aerospike.client.AerospikeException.Commit
- All Implemented Interfaces:
Serializable
- Enclosing class:
AerospikeException
Exception thrown when a multi-record transaction commit fails.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.aerospike.client.AerospikeException
AerospikeException.AsyncQueueFull, AerospikeException.Backoff, AerospikeException.BatchExists, AerospikeException.BatchRecordArray, AerospikeException.BatchRecords, AerospikeException.Commit, AerospikeException.Connection, AerospikeException.InvalidNamespace, AerospikeException.InvalidNode, AerospikeException.Parse, AerospikeException.QueryTerminated, AerospikeException.ScanTerminated, AerospikeException.Serialize, AerospikeException.Timeout -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal CommitErrorError status of the attempted commit.final BatchRecord[]Roll forward/backward result for each write key in the MRT.final BatchRecord[]Verify result for each read key in the MRT. -
Constructor Summary
ConstructorsConstructorDescriptionCommit(CommitError error, BatchRecord[] verifyRecords, BatchRecord[] rollRecords) Commit(CommitError error, BatchRecord[] verifyRecords, BatchRecord[] rollRecords, Throwable cause) -
Method Summary
Methods inherited from class com.aerospike.client.AerospikeException
getBaseMessage, getInDoubt, getIteration, getNode, getPolicy, getResultCode, getSubExceptions, keepConnection, setInDoubt, setInDoubt, setIteration, setNode, setPolicy, setSubExceptionsMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
error
Error status of the attempted commit. -
verifyRecords
Verify result for each read key in the MRT. May be null if failure occurred before verify. -
rollRecords
Roll forward/backward result for each write key in the MRT. May be null if failure occurred before roll forward/backward.
-
-
Constructor Details
-
Commit
-
Commit
public Commit(CommitError error, BatchRecord[] verifyRecords, BatchRecord[] rollRecords, Throwable cause)
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classAerospikeException
-