GitHub user eolivelli opened a pull request:
https://github.com/apache/zookeeper/pull/222
ZOOKEEPER-2697 Handle graceful stop of ZookKeeper client
Add a ZooKeeper.close(int timeout) method which waits for internal
resources to be released
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/eolivelli/zookeeper
ZOOKEEPER-2697-close-with-timeout
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/222.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 #222
----
commit 509f5a396496e409827bfed8a73a7bb2e5b62534
Author: eolivelli <[email protected]>
Date: 2017-04-11T13:41:06Z
ZOOKEEPER-2697 Handle graceful stop of ZookKeeper client
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---