Class RouteSpecGrpcRouteRetryPolicy


  • public final class RouteSpecGrpcRouteRetryPolicy
    extends java.lang.Object
    • Method Detail

      • grpcRetryEvents

        public java.util.List<java.lang.String> grpcRetryEvents()
        Returns:
        List of gRPC retry events. Valid values: `cancelled`, `deadline-exceeded`, `internal`, `resource-exhausted`, `unavailable`.
      • httpRetryEvents

        public java.util.List<java.lang.String> httpRetryEvents()
        Returns:
        List of HTTP retry events. Valid values: `client-error` (HTTP status code 409), `gateway-error` (HTTP status codes 502, 503, and 504), `server-error` (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), `stream-error` (retry on refused stream).
      • maxRetries

        public java.lang.Integer maxRetries()
        Returns:
        Maximum number of retries.
      • tcpRetryEvents

        public java.util.List<java.lang.String> tcpRetryEvents()
        Returns:
        List of TCP retry events. The only valid value is `connection-error`.