public interface ResultCallback<E>
| Modifier and Type | Method and Description | 
|---|---|
void | 
done()
The end of the results has been reached. 
 | 
void | 
result(E e)
A new result has been found. 
 | 
void result(E e) throws java.lang.InterruptedException
e - the new resultjava.lang.InterruptedException - if the callback is interruptedvoid done() throws java.lang.InterruptedException
java.lang.InterruptedException - if the callback is interrupted