public class ZKCheck extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
check(String rootPath,
List<ZKCheckElement> checkElements,
Hashtable<Integer,List<String>> checksOutput)
Execute check operations starting recursively from the rootPath.
|
public ZKCheck(ZKClient zk)
public void check(String rootPath, List<ZKCheckElement> checkElements, Hashtable<Integer,List<String>> checksOutput) throws org.apache.zookeeper.KeeperException, InterruptedException, NoSuchMethodException, SecurityException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchFieldException
rootPath - Path to start the recursive checkcheckElements - Check operations to be executed on each znodechecksOutput - Output for the check operationsorg.apache.zookeeper.KeeperExceptionInterruptedExceptionNoSuchMethodExceptionSecurityExceptionIllegalAccessExceptionIllegalArgumentExceptionInvocationTargetExceptionNoSuchFieldExceptionCopyright © 2020. All rights reserved.