code: public void awaitStartupCompletion() {
          try {
              Object obj = startedStatusQueue.take();
              if(obj instanceof Throwable)
                  throw new VoldemortException((Throwable) obj);
          } catch(InterruptedException e) {
              // this is okay, if we are interrupted we can stop waiting
          }
      }
docs: Blocks until the server has started successfully or an exception is
  thrown.
  
  @throws VoldemortException if a problem occurs during start-up wrapping
  the original exception.