T - the value type of the upstream and downstreampublic class BulkheadOperator<T>
extends java.lang.Object
implements java.util.function.Function<org.reactivestreams.Publisher<T>,org.reactivestreams.Publisher<T>>
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<T> |
apply(org.reactivestreams.Publisher<T> publisher) |
static <T> BulkheadOperator<T> |
of(io.github.resilience4j.bulkhead.Bulkhead bulkhead)
Creates a BulkheadOperator.
|
static <T> BulkheadOperator<T> |
of(io.github.resilience4j.bulkhead.Bulkhead bulkhead,
reactor.core.scheduler.Scheduler scheduler)
Creates a BulkheadOperator.
|
public static <T> BulkheadOperator<T> of(io.github.resilience4j.bulkhead.Bulkhead bulkhead)
T - the value type of the upstream and downstreambulkhead - the Bulkheadpublic static <T> BulkheadOperator<T> of(io.github.resilience4j.bulkhead.Bulkhead bulkhead, reactor.core.scheduler.Scheduler scheduler)
T - the value type of the upstream and downstreambulkhead - the Bulkheadscheduler - the Scheduler where to publish