Package io.temporal.serviceclient
Class RpcRetryOptions.DoNotRetryItem
- java.lang.Object
-
- io.temporal.serviceclient.RpcRetryOptions.DoNotRetryItem
-
- Enclosing class:
- RpcRetryOptions
public static class RpcRetryOptions.DoNotRetryItem extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DoNotRetryItem(io.grpc.Status.Code code, java.lang.Class<? extends com.google.protobuf.Message> detailsClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.Status.CodegetCode()java.lang.Class<? extends com.google.protobuf.Message>getDetailsClass()
-
-
-
Constructor Detail
-
DoNotRetryItem
public DoNotRetryItem(@Nonnull io.grpc.Status.Code code, @Nullable java.lang.Class<? extends com.google.protobuf.Message> detailsClass)- Parameters:
code- errors with this code will be considered non retryable.Status.Code.CANCELLEDandStatus.Code.DEADLINE_EXCEEDEDare always considered non-retryable.detailsClass- If not null, only failures with thecodeand details of thisdetailsClassclass are non retryable If null, all failures with the code are non retryable.
-
-