public void waitUntilWalRollFinished() throws InterruptedException {
    while (!walRollFinished()) {
      Thread.sleep(100);
    }
  }
Wait until all wals have been rolled after calling {@link #requestRollAll()}.
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/AbstractWALRoller.java