Uses of Class
org.hansken.plugin.extraction.runtime.grpc.client.RetryPolicy
-
Packages that use RetryPolicy Package Description org.hansken.plugin.extraction.runtime.grpc.client -
-
Uses of RetryPolicy in org.hansken.plugin.extraction.runtime.grpc.client
Methods in org.hansken.plugin.extraction.runtime.grpc.client that return RetryPolicy Modifier and Type Method Description RetryPolicyRetryPolicy. backOffMultiplier(double backOffMultiplier)The factor to multiply the maximum backoff value with on each iteration.RetryPolicyRetryPolicy. initialBackoffMs(Duration initialBackoff)The initial wait time bound of the first retry iteration.RetryPolicyRetryPolicy. maxAttempts(int maxAttempts)Set the maximum total attempts trying to connect.RetryPolicyRetryPolicy. maxBackOff(Duration maxBackOff)The maximum wait time bound for any iteration.static RetryPolicyRetryPolicy. withDefaultSettings()Get a default policy, which has the following parameters:maxAttempts=10, initialBackoff=250ms, maxBackOff=10s, backOffMultiplier=2.Constructors in org.hansken.plugin.extraction.runtime.grpc.client with parameters of type RetryPolicy Constructor Description ExtractionPluginClient(String host, int port, RetryPolicy retryPolicy)SeeExtractionPluginClient(String, int), but with aRetryPolicy.ExtractionPluginClient(String target, RetryPolicy retryPolicy)Same asExtractionPluginClient(String, RetryPolicy), but with atargetstring instead.ExtractionPluginClient(String target, RetryPolicy retryPolicy, String pluginId)Same asExtractionPluginClient(String, RetryPolicy, String), but with a pluginId parameter for routing.
-