Class GrpcRetryer


  • public final class GrpcRetryer
    extends java.lang.Object
    • Constructor Detail

      • GrpcRetryer

        public GrpcRetryer​(java.util.function.Supplier<io.temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities> serverCapabilities)
    • Method Detail

      • retryWithResultAsync

        public <R> java.util.concurrent.CompletableFuture<R> retryWithResultAsync​(java.util.concurrent.ScheduledExecutorService executor,
                                                                                  java.util.function.Supplier<java.util.concurrent.CompletableFuture<R>> function,
                                                                                  GrpcRetryer.GrpcRetryerOptions options)