public void waitWhileInitializing() throws InterruptedException {
    boolean interrupted = Thread.interrupted();
    try {
      if (interrupted && dlock.isInterruptibleLockRequest()) {
        throw new InterruptedException();
      }
      while (true) {
        try {
          whileInitializing.await();
          break;
        } catch (InterruptedException e) {
          interrupted = true;
          throwIfInterruptible(e);
        }
      }
    } finally {
      if (interrupted) {
        Thread.currentThread().interrupt();
      }
    }
  }
Waits uninterruptibly while this grantor is initializing. Returns when grantor is ready to
handle lock requests.

@throws DistributedSystemDisconnectedException if system shuts down before grantor is ready
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockGrantor.java