curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dtrott <...@git.apache.org>
Subject [GitHub] curator pull request: Added CloseMode support to LeaderLatch
Date Thu, 06 Mar 2014 01:49:00 GMT
GitHub user dtrott opened a pull request:

    https://github.com/apache/curator/pull/1

    Added CloseMode support to LeaderLatch

    Added CloseMode support to LeaderLatch in order to be able to trigger the notLeader()
callback when a Latch is manually closed.
    
    The patch allows the close mode to be set either:
    - During the creation of the latch so that the behavior is applied during a Closeable.close()
call.
    - Or on the close call to allow more specific control of notification behavior.
    
    JIRA Issue to be added shortly.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dtrott/curator close_mode

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/curator/pull/1.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1
    
----
commit e0ce36cc9e2231fba0eb73866988eccfee6e0154
Author: David Trott <github@davidtrott.com>
Date:   2014-03-06T00:57:04Z

    Added CloseMode support to LeaderLatch in order to be able to trigger the notLeader()
callback when a Latch is manually closed.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message