GitHub user dineshappavoo opened a pull request:
https://github.com/apache/zookeeper/pull/735
ZOOKEEPER-3209: New `getEphemerals` api to get all the ephemeral nodes
created by the session
See https://issues.apache.org/jira/browse/ZOOKEEPER-3209 for details about
the API.
New API `getEphemerals()` to get all the ephemeral nodes created by the
session by providing the prefix path.
* Get the prefix path as a input parameter and return a list of string
(ephemeral nodes)
* If the prefix path is `/` or empty return all the ephemeral nodes created
by the session
* Provide synchronous and asynchronous API's with same functionality
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dineshappavoo/zookeeper ZOOKEEPER-3209
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/735.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 #735
----
commit 84aa7eeafcb114476de899e0beab92c6458fcb10
Author: Dinesh Appavoo <dappavoo@...>
Date: 2016-10-03T17:57:10Z
ZOOKEEPER-3209: New `getEphemerals` api to get all the ephemeral nodes
created by the session
----
---