private void addAndReWatchTable(String tableZnode) throws KeeperException {
    getMonitor().addTable(ZKUtil.getNodeName(tableZnode));
    // re-add a watch to the table created
    // and check to make sure it wasn't deleted
    if (!ZKUtil.watchAndCheckExists(watcher, tableZnode)) {
      safeStopTrackingTable(tableZnode);
    }
  }
Add this table to the tracker and then read a watch on that node.
<p>
Handles situation where table is deleted in the time between the update and resetting the watch
by deleting the table via {@link #safeStopTrackingTable(String)}
@param tableZnode full zookeeper path to the table to be added
@throws KeeperException if an unexpected zk exception occurs
hbase-server/src/main/java/org/apache/hadoop/hbase/backup/example/TableHFileArchiveTracker.java