public interface CircuitBreakerService
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
onPushFail(Map<String,Long> versions,
Subscriber subscriber)
statistic when push fail
|
boolean |
onPushSuccess(Map<String,Long> versions,
Map<String,Integer> pushNums,
Subscriber subscriber)
statistic when push success
|
boolean |
pushCircuitBreaker(CircuitBreakerStatistic statistic,
boolean hasPushed) |
boolean pushCircuitBreaker(CircuitBreakerStatistic statistic, boolean hasPushed)
statistic - statistichasPushed - hasPushedboolean onPushSuccess(Map<String,Long> versions, Map<String,Integer> pushNums, Subscriber subscriber)
versions - dataCenter versionpushNums - dataCenter pushNumsubscriber - subscriberboolean onPushFail(Map<String,Long> versions, Subscriber subscriber)
versions - versionssubscriber - subscriberCopyright © 2023 The Ant Financial. All rights reserved.