Class RetryUtil


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

      Constructors 
      Modifier Constructor Description
      private RetryUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Set<java.lang.String> retryableGrpcStatusCodes()
      Returns the retryable gRPC status codes.
      static java.util.Set<java.lang.Integer> retryableHttpResponseCodes()
      Returns the retryable HTTP status codes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • RETRYABLE_GRPC_STATUS_CODES

        private static final java.util.Set<java.lang.String> RETRYABLE_GRPC_STATUS_CODES
      • RETRYABLE_HTTP_STATUS_CODES

        private static final java.util.Set<java.lang.Integer> RETRYABLE_HTTP_STATUS_CODES
    • Constructor Detail

      • RetryUtil

        private RetryUtil()
    • Method Detail

      • retryableGrpcStatusCodes

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

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