[ 
https://issues.apache.org/jira/browse/LANG-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14299890#comment-14299890
 ] 

Bruno P. Kinoshita commented on LANG-1085:
------------------------------------------

> Do you think this is sufficient, or would we need some more to make this more 
> generic (maybe rather than an increment by one, a generic add would be 
> needed?)?

I think it is worth exploring several design ideas. We could try to extract 
this common interface with the methods you suggested and implement some circuit 
breakers in order to validate its design. Let's give some time first to 
Benedikt and others to have a look at it too.

> Add a circuit breaker implementation
> ------------------------------------
>
>                 Key: LANG-1085
>                 URL: https://issues.apache.org/jira/browse/LANG-1085
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.concurrent.*
>            Reporter: Oliver Heger
>         Attachments: CircuitBreaker.java, CircuitBreakerTest.java
>
>
> A _circuit breaker_ is a useful component to protect an application against 
> unreliable services or load peaks. A simple implementation could be a good 
> fit for the concurrent package.
> A proposed implementation is attached. Feedback is welcome!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to