public List<ZKListener> getListeners() {
    return new ArrayList<>(listeners);
  }
Get a copy of current registered listeners
hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKWatcher.java