rhces 发表于 2015-9-7 08:35:50

zookeeper client

static {  commandMap.put("connect", "host:port");
  commandMap.put("close","");
  commandMap.put("create", "[-s] [-e] path data acl");
  commandMap.put("delete","path ");
  commandMap.put("rmr","path");
  commandMap.put("set","path data ");
  commandMap.put("get","path ");
  commandMap.put("ls","path ");
  commandMap.put("ls2","path ");
  commandMap.put("getAcl","path");
  commandMap.put("setAcl","path acl");
  commandMap.put("stat","path ");
  commandMap.put("sync","path");
  commandMap.put("setquota","-n|-b val path");
  commandMap.put("listquota","path");
  commandMap.put("delquota","[-n|-b] path");
  commandMap.put("history","");
  commandMap.put("redo","cmdno");
  commandMap.put("printwatches", "on|off");
  commandMap.put("quit","");
  commandMap.put("addauth", "scheme auth");
  }
页: [1]
查看完整版本: zookeeper client