Exemplo n.º 1
0
 public void removeCanal(String destination) {
   String path = String.format(CANAL_PATH, destination);
   zookeeper.deleteRecursive(path);
 }
Exemplo n.º 2
0
 @Override
 public void removeCanal(String destination, short clientId) {
   String path = String.format(CANAL_DATA_PATH, destination, String.valueOf(clientId));
   zookeeper.deleteRecursive(path);
 }