| Constructor and Description |
|---|
FailsafePlugin(com.google.common.collect.ImmutableList<? extends net.jodah.failsafe.Policy<org.springframework.http.client.ClientHttpResponse>> policies,
ScheduledExecutorService scheduler) |
| Modifier and Type | Method and Description |
|---|---|
RequestExecution |
aroundDispatch(RequestExecution execution) |
FailsafePlugin |
withListener(RetryListener listener) |
FailsafePlugin |
withPredicate(Predicate<RequestArguments> predicate) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaroundAsync, aroundNetwork, aroundSerialization, composite, compositepublic FailsafePlugin(com.google.common.collect.ImmutableList<? extends net.jodah.failsafe.Policy<org.springframework.http.client.ClientHttpResponse>> policies,
ScheduledExecutorService scheduler)
public FailsafePlugin withPredicate(Predicate<RequestArguments> predicate)
public FailsafePlugin withListener(RetryListener listener)
public RequestExecution aroundDispatch(RequestExecution execution)
aroundDispatch in interface PluginCopyright © 2015–2019 Zalando SE. All rights reserved.