List of usage examples for org.apache.zookeeper KeeperException.NoNodeException getPath
public String getPath()
From source file:com.yahoo.pulsar.zookeeper.ZooKeeperChildrenCache.java
License:Apache License
@Override public void reloadCache(final String path) { try {/* ww w . ja v a 2s .co m*/ cache.invalidate(path); Set<String> children = cache.getChildren(path, this); LOG.info("reloadCache called in zookeeperChildrenCache for path {}", path); for (ZooKeeperCacheListener<Set<String>> listener : listeners) { listener.onUpdate(path, children, null); } } catch (KeeperException.NoNodeException nne) { LOG.debug("Node [{}] does not exist", nne.getPath()); } catch (Exception e) { LOG.warn("Reloading ZooKeeperDataCache failed at path:{}", path); } }