code: public void waitForData() throws InterruptedException {
          try {
              if (registryRemote == null) {
                  waitForValue();
                  return;
              }
              getRegistryRemote().waitForData();
          } catch (CouldNotPerformException ex) {
              ExceptionPrinter.printHistory("Could not wait until " + getName() + " is ready!", ex, logger);
          }
      }
docs: Method blocks until the remote registry is synchronized.
  
  @throws InterruptedException is thrown in case the thread is externally interrupted.