saurabhsinghwww opened a new pull request #704:
URL: https://github.com/apache/commons-lang/pull/704


   Added new circuit breaker implementation (PercentageCheckCircuitBreaker), 
which is based on percentage checks on the events.
   
   A circuit breaker can be used to protect an application against unreliable 
services or unexpected load.
   A newly created {@code PercentageCheckCircuitBreaker} object is initially in 
state closed meaning that no problem has been detected.
   When the application encounters specific events (like errors or service 
timeouts), it tells the circuit breaker to increment the internal counters.
   If the number of events reported results in a higher than acceptable 
percentage for a window size, the circuit breaker changes into state open.
   This means that there is a problem with the associated sub system, the 
application should no longer call it, but give it some time to settle down.
   The circuit breaker can be configured to switch back or reset to closed 
state after a certain time frame.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to