public class ReactiveSentinelCircuitBreaker extends Object implements org.springframework.cloud.client.circuitbreaker.ReactiveCircuitBreaker
ReactiveCircuitBreaker.| Constructor and Description |
|---|
ReactiveSentinelCircuitBreaker(String resourceName) |
ReactiveSentinelCircuitBreaker(String resourceName,
com.alibaba.csp.sentinel.EntryType entryType,
List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule> rules) |
ReactiveSentinelCircuitBreaker(String resourceName,
List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule> rules) |
| Modifier and Type | Method and Description |
|---|---|
<T> reactor.core.publisher.Flux<T> |
run(reactor.core.publisher.Flux<T> toRun,
Function<Throwable,reactor.core.publisher.Flux<T>> fallback) |
<T> reactor.core.publisher.Mono<T> |
run(reactor.core.publisher.Mono<T> toRun,
Function<Throwable,reactor.core.publisher.Mono<T>> fallback) |
public ReactiveSentinelCircuitBreaker(String resourceName, com.alibaba.csp.sentinel.EntryType entryType, List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule> rules)
public ReactiveSentinelCircuitBreaker(String resourceName, List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule> rules)
public ReactiveSentinelCircuitBreaker(String resourceName)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.