public interface CircuitBreakerMetrics extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
addListener(MetricsListener metricsListener)
Add metrics listener.
|
void |
recordFailure()
Record a failure call.
|
void |
recordSuccess()
Record a successful call.
|
void recordSuccess()
void recordFailure()
void addListener(MetricsListener metricsListener)
Copyright © 2024 PingCAP. All rights reserved.