public void waitForCompleted() throws ForeignException, InterruptedException {
    waitForLatch(completedLatch, monitor, wakeFrequency, procName + " completed");
  }
Waits until the entire procedure has globally completed, or has been aborted. If an exception
is thrown the procedure may or not have run cleanup to trigger the completion latch yet.
hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/Procedure.java