Package | Description |
---|---|
org.apache.solr.util.circuitbreaker |
Classes related to circuit breaker infrastructure
|
Modifier and Type | Class and Description |
---|---|
class |
CPUCircuitBreaker
Tracks current CPU usage and triggers if the specified threshold is breached.
|
class |
MemoryCircuitBreaker
Tracks the current JVM heap usage and triggers if it exceeds the defined percentage of the maximum
heap size allocated to the JVM.
|
Modifier and Type | Method and Description |
---|---|
List<CircuitBreaker> |
CircuitBreakerManager.checkTripped()
Check and return circuit breakers that have triggered
|
List<CircuitBreaker> |
CircuitBreakerManager.getRegisteredCircuitBreakers() |
Modifier and Type | Method and Description |
---|---|
void |
CircuitBreakerManager.register(CircuitBreaker circuitBreaker) |
Modifier and Type | Method and Description |
---|---|
static String |
CircuitBreakerManager.toErrorMessage(List<CircuitBreaker> circuitBreakerList)
Construct the final error message to be printed when circuit breakers trip.
|
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.