Class RetryOptionsUtils
java.lang.Object
io.temporal.internal.common.RetryOptionsUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanareAttemptsReached(RetryOptions o, long attempt) static booleanisDeadlineReached(io.grpc.Deadline deadline, long sleepTimeMs) static booleanisNotRetryable(RetryOptions o, String type) static booleanstatic RetryOptionstoRetryOptions(io.temporal.api.common.v1.RetryPolicy retryPolicy) static io.temporal.api.common.v1.RetryPolicy.BuildertoRetryPolicy(RetryOptions retryOptions)
-
Constructor Details
-
RetryOptionsUtils
public RetryOptionsUtils()
-
-
Method Details
-
isNotRetryable
-
isNotRetryable
-
areAttemptsReached
-
isDeadlineReached
public static boolean isDeadlineReached(@Nullable io.grpc.Deadline deadline, long sleepTimeMs) -
toRetryOptions
-
toRetryPolicy
public static io.temporal.api.common.v1.RetryPolicy.Builder toRetryPolicy(RetryOptions retryOptions)
-