@Experimental public interface CircuitBreakerMetrics
Implementations must be:
| Modifier and Type | Method and Description |
|---|---|
MetricsSnapshot |
getSnapshot()
Get a snapshot of the current metrics within the time window.
|
void |
recordFailure()
Record a failed command execution.
|
void |
recordSuccess()
Record a successful command execution.
|
void recordSuccess()
void recordFailure()
MetricsSnapshot getSnapshot()
Copyright © 2026 lettuce.io. All rights reserved.