T - the value type of the upstream and downstreampublic class RetryOperator<T>
extends java.lang.Object
implements java.util.function.UnaryOperator<org.reactivestreams.Publisher<T>>
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<T> |
apply(org.reactivestreams.Publisher<T> publisher) |
static <T> RetryOperator<T> |
of(io.github.resilience4j.retry.Retry retry)
Creates a retry.
|
public static <T> RetryOperator<T> of(io.github.resilience4j.retry.Retry retry)
T - the value type of the upstream and downstreamretry - the retry