Package io.grpc.xds

Class VirtualHost.Route.RouteAction.RetryPolicy

    • Constructor Summary

      Constructors 
      Constructor Description
      RetryPolicy()  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static VirtualHost.Route.RouteAction.RetryPolicy create​(int maxAttempts, java.util.List<io.grpc.Status.Code> retryableStatusCodes, com.google.protobuf.Duration initialBackoff, com.google.protobuf.Duration maxBackoff, com.google.protobuf.Duration perAttemptRecvTimeout)  
      (package private) abstract com.google.protobuf.Duration initialBackoff()  
      (package private) abstract int maxAttempts()  
      (package private) abstract com.google.protobuf.Duration maxBackoff()  
      (package private) abstract com.google.protobuf.Duration perAttemptRecvTimeout()  
      (package private) abstract com.google.common.collect.ImmutableList<io.grpc.Status.Code> retryableStatusCodes()  
      • Methods inherited from class java.lang.Object

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

      • RetryPolicy

        RetryPolicy()
    • Method Detail

      • maxAttempts

        abstract int maxAttempts()
      • retryableStatusCodes

        abstract com.google.common.collect.ImmutableList<io.grpc.Status.Code> retryableStatusCodes()
      • initialBackoff

        abstract com.google.protobuf.Duration initialBackoff()
      • maxBackoff

        abstract com.google.protobuf.Duration maxBackoff()
      • perAttemptRecvTimeout

        @Nullable
        abstract com.google.protobuf.Duration perAttemptRecvTimeout()
      • create

        static VirtualHost.Route.RouteAction.RetryPolicy create​(int maxAttempts,
                                                                java.util.List<io.grpc.Status.Code> retryableStatusCodes,
                                                                com.google.protobuf.Duration initialBackoff,
                                                                com.google.protobuf.Duration maxBackoff,
                                                                @Nullable
                                                                com.google.protobuf.Duration perAttemptRecvTimeout)