Package com.google.api.gax.retrying
Interface RetryingContext
- All Known Subinterfaces:
ApiCallContext
@BetaApi("The surface for passing per operation state is not yet stable")
public interface RetryingContext
Context for a retryable operation.
It provides state to individual RetryingFutures via the RetryingExecutor.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the retryable codes to use with this context, ornullif the default retryable codes should be used.Returns theRetrySettingsto use with this context, ornullif the defaultRetrySettingsshould be used.Returns theApiTracerassociated with the current operation.
-
Method Details
-
getTracer
Returns theApiTracerassociated with the current operation. -
getRetrySettings
Returns theRetrySettingsto use with this context, ornullif the defaultRetrySettingsshould be used. -
getRetryableCodes
Returns the retryable codes to use with this context, ornullif the default retryable codes should be used.
-