@Override public ZooKeeper.States getState() throws KeeperException { return reporter.time(tag, "getState", client::getState); }
@Override public void delete(String path) throws KeeperException { reporter.time(tag, "delete", () -> { client.delete(path); return null; }); }
@Override public void deleteRecursive(String path) throws KeeperException { reporter.time(tag, "deleteRecursive", () -> { client.deleteRecursive(path); return null; }); }
@Override public void create(String path) throws KeeperException { reporter.time(tag, "create", () -> { client.create(path); return null; }); }
@Override public Collection<CuratorTransactionResult> transaction(ZooKeeperOperation... operations) throws KeeperException { return reporter.time(tag, "transaction", () -> client.transaction(operations)); }
@Override public List<String> getChildren(String path) throws KeeperException { return reporter.time(tag, "getChildren", () -> client.getChildren(path)); }
@Override public void ensurePath(String path) throws KeeperException { reporter.time(tag, "ensurePath", () -> { client.ensurePath(path); return null; }); }
@Override public void createAndSetData(String path, byte[] data) throws KeeperException { reporter.time(tag, "createAndSetData", () -> { client.createAndSetData(path, data); return null; }); }
@Override public void ensurePath(String path, boolean excludingLast) throws KeeperException { reporter.time(tag, "ensurePath", () -> { client.ensurePath(path, excludingLast); return null; }); }
@Override public void delete(String path, int version) throws KeeperException { reporter.time(tag, "delete", () -> { client.delete(path, version); return null; }); }
@Override public void setAcl(final String path, final List<ACL> aclList) throws KeeperException { reporter.time(tag, "setAcl", () -> { client.setAcl(path, aclList); return null; }); }
@Override public List<ACL> getAcl(final String path) throws KeeperException { return reporter.time(tag, "getAcl", () -> client.getAcl(path)); } }
@Override public void ensurePathAndSetData(String path, byte[] data) throws KeeperException { reporter.time(tag, "ensurePathAndSetData", () -> { client.ensurePathAndSetData(path, data); return null; }); }
@Override public void setData(String path, byte[] bytes) throws KeeperException { reporter.time(tag, "setData", () -> { client.setData(path, bytes); return null; }); }
@Override public void createWithMode(String path, CreateMode mode) throws KeeperException { reporter.time(tag, "createWithMode", () -> { client.createWithMode(path, mode); return null; }); }
@Override public Collection<CuratorTransactionResult> transaction(List<ZooKeeperOperation> operations) throws KeeperException { return reporter.time(tag, "transaction", () -> client.transaction(operations)); }
@Override public byte[] getData(String path) throws KeeperException { return reporter.time(tag, "getData", () -> client.getData(path)); }
@Override public Stat stat(String path) throws KeeperException { return reporter.time(tag, "stat", () -> client.stat(path)); }
@Override public Stat exists(String path) throws KeeperException { return reporter.time(tag, "exists", () -> client.exists(path)); }
@Override public List<String> listRecursive(String path) throws KeeperException { return reporter.time(tag, "listRecursive", () -> client.listRecursive(path)); }