Package io.temporal.internal.retryer
Class GrpcRetryer.GrpcRetryerOptions
- java.lang.Object
-
- io.temporal.internal.retryer.GrpcRetryer.GrpcRetryerOptions
-
- Enclosing class:
- GrpcRetryer
public static class GrpcRetryer.GrpcRetryerOptions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GrpcRetryerOptions(RpcRetryOptions options, io.grpc.Deadline deadline)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.Deadline
getDeadline()
RpcRetryOptions
getOptions()
void
validate()
-
-
-
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 ifretriesDeadline
is supplieddeadline
- an absolute deadline for the retries
-
-
Method Detail
-
getOptions
@Nonnull public RpcRetryOptions getOptions()
-
getDeadline
@Nullable public io.grpc.Deadline getDeadline()
-
validate
public void validate()
-
-