Class RetryUtil

java.lang.Object
io.opentelemetry.exporter.internal.RetryUtil

public final class RetryUtil extends Object
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Field Details

    • RETRYABLE_GRPC_STATUS_CODES

      private static final Set<String> RETRYABLE_GRPC_STATUS_CODES
    • RETRYABLE_HTTP_STATUS_CODES

      private static final Set<Integer> RETRYABLE_HTTP_STATUS_CODES
  • Constructor Details

    • RetryUtil

      private RetryUtil()
  • Method Details

    • retryableGrpcStatusCodes

      public static Set<String> retryableGrpcStatusCodes()
      Returns the retryable gRPC status codes.
    • retryableHttpResponseCodes

      public static Set<Integer> retryableHttpResponseCodes()
      Returns the retryable HTTP status codes.