public interface IZkChildListener
IZkChildListener
can be registered at a ZkClient
for listening on zk child changes for a given
path.
Node: Also this listener re-subscribes it watch for the path on each zk event (zk watches are one-timers) is is not
guaranteed that events on the path are missing (see http://zookeeper.wiki.sourceforge.net/ZooKeeperWatches). An
implementation of this class should take that into account.Modifier and Type | Method and Description |
---|---|
void |
handleChildChange(String parentPath,
List<String> currentChilds)
Called when the children of the given path changed.
|
Copyright © 2019. All rights reserved.