public final class HystrixCommands extends Object
Publisher
in a HystrixObservableCommand
. Good for
use in a Spring WebFlux application. Allows more flexibility than the @HystrixCommand
annotation.Modifier and Type | Class and Description |
---|---|
static class |
HystrixCommands.PublisherBuilder<T>
A builder class for building Hystrix-command-specific
Publisher s. |
Modifier and Type | Method and Description |
---|---|
static <T> HystrixCommands.PublisherBuilder<T> |
from(org.reactivestreams.Publisher<T> publisher) |
public static <T> HystrixCommands.PublisherBuilder<T> from(org.reactivestreams.Publisher<T> publisher)
T
- type of the Publisher
s to be built by the returned builderpublisher
- A Publisher
to pass to the new
PublisherHystrixCommand
Publisher
sCopyright © 2022 Pivotal Software, Inc.. All rights reserved.