public void waitForLocallyCompleted() throws ForeignException, InterruptedException {
    Procedure.waitForLatch(releasedLocalBarrier, monitor, wakeFrequency,
      barrierName + ":completed");
  }
Waits until the entire procedure has globally completed, or has been aborted.
hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/Subprocedure.java