public Optional<Stat> getStat(Path path) {
        try {
            return Optional.ofNullable(framework().checkExists().forPath(path.getAbsolute()));
        }
        catch (KeeperException.NoNodeException e) {
            return Optional.empty();
        }
        catch (Exception e) {
            throw new RuntimeException("Could not get data at " + path.getAbsolute(), e);
        }
    }
Returns the stat data at the given path.
Empty is returned if the path does not exist.
zkfacade/src/main/java/com/yahoo/vespa/curator/Curator.java