OpenSearch/server
Benjamin Trent 15aba60c02
[7.x] Add new circuitbreaker plugin and refactor CircuitBreakerService (#55695) (#57359)
* Add new circuitbreaker plugin and refactor CircuitBreakerService (#55695)

This commit lays the ground work for plugins supplying their own circuit breakers.

It adds a new interface: `CircuitBreakerPlugin`.

This interface provides methods for providing custom child CircuitBreaker objects. There are also facilities for allowing dynamic settings for the custom breakers.

With the refactor, circuit breakers are no longer replaced on setting changes. Instead, the two mutable settings themselves are `volatile`. Plugins that want to use their custom circuit breaker should keep a reference of their constructed breaker.
2020-05-29 12:13:46 -04:00
..
licenses Update Lucene version to 8.6.0-snapshot-9d6c738ffce (#57024) 2020-05-21 11:28:16 +01:00
src [7.x] Add new circuitbreaker plugin and refactor CircuitBreakerService (#55695) (#57359) 2020-05-29 12:13:46 -04:00
build.gradle