public interface TransactionRetryListenerMethods
retryFinished(Timestamp transactionStarted, long transactionId, int retryAttempt, TransactionRetryListener.RetryResult result) (deprecated)
public abstract 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.TimestampThe start date/time of the transaction that is retrying. |
transactionId |
longAn internally assigned ID of the transaction (unique during the lifetime of the JVM) that can be used to identify the transaction for logging purposes. |
retryAttempt |
intThe number of retry attempts the current transaction has executed, including the current retry attempt. |
result |
TransactionRetryListener.RetryResultThe result of the retry indicating whether the retry was successful or not. |
retryStarting(Timestamp transactionStarted, long transactionId, int retryAttempt) (deprecated)
public abstract 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.TimestampThe start date/time of the transaction that is retrying. |
transactionId |
longAn internally assigned ID of the transaction (unique during the lifetime of the JVM) that can be used to identify the transaction for logging purposes. |
retryAttempt |
intThe number of retry attempts the current transaction has executed, including the current retry attempt. |