public enum TransactionRetryListener.RetryResult extends Enum<TransactionRetryListener.RetryResult>
The result of a retry.
Fields
Name | Description |
RETRY_ABORTED_AND_MAX_ATTEMPTS_EXCEEDED | The retry was aborted by Spanner and the maximum number of retry attempts allowed has been exceeded. The transaction cannot continue and will throw an AbortedException. |
RETRY_ABORTED_AND_RESTARTING | The retry was aborted by Spanner and another retry attempt will be started. |
RETRY_ABORTED_DUE_TO_CONCURRENT_MODIFICATION | The retry was aborted by the Connection because of a concurrent modification. The transaction cannot continue and will throw an AbortedDueToConcurrentModificationException. |
RETRY_ERROR | An unexpected error occurred during transaction retry, the transaction cannot continue and will throw an exception. |
RETRY_SUCCESSFUL | The retry executed successfully and the transaction will continue. |
Methods
Name | Description |
valueOf(String name) | |
values() |