/// <summary> /// Update all ACLs for a zk tree based on our configured ZkACLProvider /// </summary> /// <param name="root">The root node to recursively update</param> public async Task updateACLs(string root) { await ZkMaintenanceUtils.traverseZkTree(this, root, VISIT_ORDER.VISIT_POST, async path => { try { await setACL(path, (await keeper.getACLAsync(path)).Acls, true); } catch (KeeperException.NoNodeException) { // If a node was deleted, don't bother trying to set ACLs on it. } }); }
public async Task downloadFromZK(string zkPath, string dir, CancellationToken token) { await ZkMaintenanceUtils.downloadFromZK(this, zkPath, dir, token); }
public async Task uploadToZK(string rootPath, string zkPath, Regex filenameExclusions, CancellationToken token) { await ZkMaintenanceUtils.uploadToZK(this, rootPath, zkPath, filenameExclusions, token); }
public async Task moveZnode(string src, string dst, CancellationToken token) { await ZkMaintenanceUtils.moveZnode(this, src, dst, token); }
public async Task zkTransfer(string src, bool srcIsZk, string dst, bool dstIsZk, bool recurse, CancellationToken token) { await ZkMaintenanceUtils.zkTransfer(this, src, srcIsZk, dst, dstIsZk, recurse, token); }
public async Task downConfig(string confName, string confPath, CancellationToken token) { await ZkMaintenanceUtils.downConfig(this, confName, confPath, token); }
public async Task <string> listZnode(string path, bool recurse) { return(await ZkMaintenanceUtils.listZnode(this, path, recurse)); }
public async Task clean(string path, CancellationToken token, Predicate <string> nodeFilter) { await ZkMaintenanceUtils.clean(this, path, token, nodeFilter); }
// Some pass-throughs to allow less code disruption to other classes that use SolrZkClient. public async Task clean(string path, CancellationToken token) { await ZkMaintenanceUtils.clean(this, path, token); }