Class RpcRetryOptions.DoNotRetryItem
java.lang.Object
io.temporal.serviceclient.RpcRetryOptions.DoNotRetryItem
-
Constructor Summary
ConstructorsConstructorDescriptionDoNotRetryItem(io.grpc.Status.Code code, Class<? extends com.google.protobuf.Message> detailsClass) -
Method Summary
-
Constructor Details
-
DoNotRetryItem
public DoNotRetryItem(@Nonnull io.grpc.Status.Code code, @Nullable 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.
-
-
Method Details
-
getCode
public io.grpc.Status.Code getCode() -
getDetailsClass
-