Class RetryOperator<T>
java.lang.Object
io.github.resilience4j.reactor.retry.RetryOperator<T>
- Type Parameters:
T- the value type of the upstream and downstream
- All Implemented Interfaces:
Function<org.reactivestreams.Publisher<T>,,org.reactivestreams.Publisher<T>> UnaryOperator<org.reactivestreams.Publisher<T>>
public class RetryOperator<T>
extends Object
implements UnaryOperator<org.reactivestreams.Publisher<T>>
A Reactor Retry operator which wraps a reactive type in a Retry.
-
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<T>static <T> RetryOperator<T>of(io.github.resilience4j.retry.Retry retry) Creates a retry.