public synchronized void waitDone() {
            while (!isDone()) {
                try { wait(); } catch (InterruptedException e) {}
            }
        }
A simple object used to wait for the completion of an
asynchronous request.
jrt/tests/com/yahoo/jrt/Test.java