Enum TransactionRetryListener.RetryResult (2.25.0)

public enum TransactionRetryListener.RetryResult extends Enum<TransactionRetryListener.RetryResult>

Use com.google.cloud.spanner.connection.TransactionRetryListener.RetryResult

Static 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 java.sql.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.

Static Methods

Name Description
valueOf(String name)
values()