Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34A73186C7 for ; Mon, 8 Jun 2015 19:54:01 +0000 (UTC) Received: (qmail 75241 invoked by uid 500); 8 Jun 2015 19:54:01 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 75124 invoked by uid 500); 8 Jun 2015 19:54:01 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 75112 invoked by uid 99); 8 Jun 2015 19:54:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2015 19:54:00 +0000 Date: Mon, 8 Jun 2015 19:54:00 +0000 (UTC) From: "Oliver Heger (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LANG-1085) Add a circuit breaker implementation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LANG-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14577733#comment-14577733 ] Oliver Heger commented on LANG-1085: ------------------------------------ Hi Bruno! It is fine with me either way, but your contribution is nevertheless very important as you turned the original specific use case into a much broader one. Regarding the next steps, I am pretty content with the current state of TimedCircuitBreaker. I will copy (and maybe slightly adapt) the class documentation from the original CircuitBreaker class. The tests should also be pretty complete. Do you want to work on the polishing of the other classes? So what would be easier for our collaboration? Can I somehow grant you direct access to my repository? > 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)