public class CircuitBreakerRuleListener extends AbstractResourceEventListener
| Constructor and Description |
|---|
CircuitBreakerRuleListener(PolarisCircuitBreaker polarisCircuitBreaker) |
| Modifier and Type | Method and Description |
|---|---|
void |
onResourceAdd(ServiceEventKey svcEventKey,
RegistryCacheValue newValue) |
void |
onResourceDeleted(ServiceEventKey svcEventKey,
RegistryCacheValue oldValue) |
void |
onResourceUpdated(ServiceEventKey svcEventKey,
RegistryCacheValue oldValue,
RegistryCacheValue newValue) |
public CircuitBreakerRuleListener(PolarisCircuitBreaker polarisCircuitBreaker)
public void onResourceAdd(ServiceEventKey svcEventKey, RegistryCacheValue newValue)
onResourceAdd in interface ResourceEventListeneronResourceAdd in class AbstractResourceEventListenerpublic void onResourceUpdated(ServiceEventKey svcEventKey, RegistryCacheValue oldValue, RegistryCacheValue newValue)
onResourceUpdated in interface ResourceEventListeneronResourceUpdated in class AbstractResourceEventListenerpublic void onResourceDeleted(ServiceEventKey svcEventKey, RegistryCacheValue oldValue)
onResourceDeleted in interface ResourceEventListeneronResourceDeleted in class AbstractResourceEventListenerCopyright © 2023. All rights reserved.