Class RetryOptionsUtils

java.lang.Object
io.temporal.internal.common.RetryOptionsUtils

public class RetryOptionsUtils extends Object
  • Constructor Details

    • RetryOptionsUtils

      public RetryOptionsUtils()
  • Method Details

    • isNotRetryable

      public static boolean isNotRetryable(RetryOptions o, @Nullable Throwable e)
    • isNotRetryable

      public static boolean isNotRetryable(RetryOptions o, @Nullable String type)
    • areAttemptsReached

      public static boolean areAttemptsReached(RetryOptions o, long attempt)
    • isDeadlineReached

      public static boolean isDeadlineReached(@Nullable io.grpc.Deadline deadline, long sleepTimeMs)
    • toRetryOptions

      public static RetryOptions toRetryOptions(io.temporal.api.common.v1.RetryPolicy retryPolicy)
    • toRetryPolicy

      public static io.temporal.api.common.v1.RetryPolicy.Builder toRetryPolicy(RetryOptions retryOptions)