private synchronized boolean waitFor(Set set, InetSocketAddress locator, long time)
        throws InterruptedException {
      long remaining = time;
      long endTime = System.currentTimeMillis() + time;
      while (!set.contains(locator) && remaining >= 0) {
        wait(remaining);
        remaining = endTime - System.currentTimeMillis();
      }
      return set.contains(locator);
    }
A map for storing temporary objects in a remote VM so that they can be used between calls.
Cleared after each test.
geode-dunit/src/main/java/org/apache/geode/cache/client/internal/LocatorTestBase.java