@InternalApi @Deprecated public interface TransactionRetryListener
TransactionRetryListener| Modifier and Type | Interface and Description |
|---|---|
static class |
TransactionRetryListener.RetryResult
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
retryFinished(com.google.cloud.Timestamp transactionStarted,
long transactionId,
int retryAttempt,
TransactionRetryListener.RetryResult result)
Deprecated.
This method is called when a retry has finished.
|
void |
retryStarting(com.google.cloud.Timestamp transactionStarted,
long transactionId,
int retryAttempt)
Deprecated.
This method is called when a retry is about to start.
|
void retryStarting(com.google.cloud.Timestamp transactionStarted,
long transactionId,
int retryAttempt)
transactionStarted - The start date/time of the transaction that is retrying.transactionId - An 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 - The number of retry attempts the current transaction has executed,
including the current retry attempt.void retryFinished(com.google.cloud.Timestamp transactionStarted,
long transactionId,
int retryAttempt,
TransactionRetryListener.RetryResult result)
transactionStarted - The start date/time of the transaction that is retrying.transactionId - An 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 - The number of retry attempts the current transaction has executed,
including the current retry attempt.result - The result of the retry indicating whether the retry was successful or not.Copyright © 2020 Google LLC. All rights reserved.