[
https://issues.apache.org/jira/browse/ZOOKEEPER-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991049#comment-15991049
]
Hudson commented on ZOOKEEPER-2697:
-----------------------------------
SUCCESS: Integrated in Jenkins build ZooKeeper-trunk #3375 (See
[https://builds.apache.org/job/ZooKeeper-trunk/3375/])
ZOOKEEPER-2697: Handle graceful stop of ZookKeeper client (hanm: rev
acfc471eca0aab57707b59ed8d19221360d19b85)
* (edit) src/java/main/org/apache/zookeeper/ZooKeeper.java
* (edit) src/java/test/org/apache/zookeeper/test/ClientTest.java
* (edit) src/java/test/org/apache/zookeeper/test/AsyncHammerTest.java
> Handle graceful stop of ZookKeeper client
> -----------------------------------------
>
> Key: ZOOKEEPER-2697
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2697
> Project: ZooKeeper
> Issue Type: Improvement
> Components: java client
> Affects Versions: 3.4.9
> Reporter: Enrico Olivelli
> Priority: Critical
> Fix For: 3.5.4, 3.6.0
>
>
> As seen in ZOOKEEPER-1394 I would like to have the "close" which waits for
> all background activities to finish.
> In tests the method "testableWaitForShutdown" is used.
> We can add a new ZooKeeper.close(int tineout) method which will act as
> testableWaitForShutdown, joining all support threads.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)