Class GrpcRetryer.GrpcRetryerOptions

  • Enclosing class:
    GrpcRetryer

    public static class GrpcRetryer.GrpcRetryerOptions
    extends java.lang.Object
    • Constructor Detail

      • GrpcRetryerOptions

        public GrpcRetryerOptions​(@Nonnull
                                  RpcRetryOptions options,
                                  @Nullable
                                  io.grpc.Deadline deadline)
        Parameters:
        options - allows partially built options without an expiration without an expiration or * maxAttempts set if retriesDeadline is supplied
        deadline - an absolute deadline for the retries
    • Method Detail

      • getDeadline

        @Nullable
        public io.grpc.Deadline getDeadline()
      • validate

        public void validate()