{
log.error("Could not close left-over PathChildrenCache for path: " + path, e);
}
}
};
String id = entry.addThing(cache, closer);
PathChildrenCacheListener listener = new PathChildrenCacheListener()
{
@Override
public void childEvent(CuratorFramework client, PathChildrenCacheEvent event) throws RpcException