Class TransactionRetryListenerImpl (6.83.0)

public abstract class TransactionRetryListenerImpl implements TransactionRetryListener

Default (no-op) implementation for TransactionRetryListener.

Inheritance

java.lang.Object > TransactionRetryListenerImpl

Constructors

TransactionRetryListenerImpl()

public TransactionRetryListenerImpl()

Methods

retryDmlAsPartitionedDmlFailed(UUID executionId, Statement statement, Throwable exception)

public void retryDmlAsPartitionedDmlFailed(UUID executionId, Statement statement, Throwable exception)

This method is called when an atomic DML statement failed to be retried as a Partitioned DML statement.

Parameters
Name Description
executionId UUID
statement Statement
exception Throwable

retryDmlAsPartitionedDmlFinished(UUID executionId, Statement statement, long lowerBoundUpdateCount)

public void retryDmlAsPartitionedDmlFinished(UUID executionId, Statement statement, long lowerBoundUpdateCount)

This method is called when an atomic DML statement has been successfully retried as a Partitioned DML statement.

Parameters
Name Description
executionId UUID
statement Statement
lowerBoundUpdateCount long

retryDmlAsPartitionedDmlStarting(UUID executionId, Statement statement, TransactionMutationLimitExceededException exception)

public void retryDmlAsPartitionedDmlStarting(UUID executionId, Statement statement, TransactionMutationLimitExceededException exception)

This method is called when an atomic DML statement is retried as a Partitioned DML statement.

Parameters
Name Description
executionId UUID
statement Statement
exception TransactionMutationLimitExceededException

retryFinished(Timestamp transactionStarted, long transactionId, int retryAttempt, TransactionRetryListener.RetryResult result)

public void retryFinished(Timestamp transactionStarted, long transactionId, int retryAttempt, TransactionRetryListener.RetryResult result)

This method is called when a retry has finished.

Parameters
Name Description
transactionStarted com.google.cloud.Timestamp
transactionId long
retryAttempt int
result TransactionRetryListener.RetryResult

retryStarting(Timestamp transactionStarted, long transactionId, int retryAttempt)

public void retryStarting(Timestamp transactionStarted, long transactionId, int retryAttempt)

This method is called when a retry is about to start.

Parameters
Name Description
transactionStarted com.google.cloud.Timestamp
transactionId long
retryAttempt int