Class CircuitBreakerUtils
- java.lang.Object
-
- org.apache.solr.util.circuitbreaker.CircuitBreakerUtils
-
public class CircuitBreakerUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description CircuitBreakerUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
reportErrorIfBreakersTripped(SolrQueryResponse rsp, List<CircuitBreaker> trippedBreakers)
-
-
-
Method Detail
-
reportErrorIfBreakersTripped
public static boolean reportErrorIfBreakersTripped(SolrQueryResponse rsp, List<CircuitBreaker> trippedBreakers)
- Parameters:
trippedBreakers
- a (potentially null or empty) list of tripped breakers that may short-circuit this request- Returns:
- true if any enabled "hard" (i.e. non-warnOnly) breakers were tripped; false otherwise
-
-