| Constructor and Description |
|---|
FailsafePlugin(ScheduledExecutorService scheduler) |
| Modifier and Type | Method and Description |
|---|---|
RequestExecution |
prepare(RequestArguments arguments,
RequestExecution execution) |
FailsafePlugin |
withCircuitBreaker(net.jodah.failsafe.CircuitBreaker circuitBreaker) |
FailsafePlugin |
withIdempotentMethodDetector(MethodDetector detector) |
FailsafePlugin |
withListener(RetryListener listener) |
FailsafePlugin |
withRetryPolicy(net.jodah.failsafe.RetryPolicy retryPolicy) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompound, compound, interceptAfterRouting, interceptBeforeRoutingpublic FailsafePlugin(ScheduledExecutorService scheduler)
public FailsafePlugin withIdempotentMethodDetector(MethodDetector detector)
public FailsafePlugin withRetryPolicy(@Nullable net.jodah.failsafe.RetryPolicy retryPolicy)
public FailsafePlugin withCircuitBreaker(@Nullable net.jodah.failsafe.CircuitBreaker circuitBreaker)
public FailsafePlugin withListener(RetryListener listener)
public RequestExecution prepare(RequestArguments arguments, RequestExecution execution)
Copyright © 2015–2019 Zalando SE. All rights reserved.