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 Detail

      • getTracer

        @Nonnull
        ApiTracer getTracer()
        Returns the ApiTracer associated with the current operation.
      • getRetryableCodes

        @Nullable
        java.util.Set<StatusCode.Code> getRetryableCodes()
        Returns the retryable codes to use with this context, or null if the default retryable codes should be used.