public interface ResultCallback<E>
void result(E e) throws java.lang.InterruptedException
e - the new resultjava.lang.InterruptedException - if the callback is interrupted
void done()
          throws java.lang.InterruptedException
java.lang.InterruptedException - if the callback is interrupted