public class FirstResponserQueryHolder extends JointQueryTask
Constructor and Description |
---|
FirstResponserQueryHolder(java.util.concurrent.CountDownLatch latch) |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<SearchResult> |
getResult() |
void |
onCompletion() |
void |
onReceive(Task<java.lang.Iterable<SearchResult>> e) |
addTask, cancel, get, getProgress, isCancelled, isDone
public FirstResponserQueryHolder(java.util.concurrent.CountDownLatch latch)
public void onReceive(Task<java.lang.Iterable<SearchResult>> e)
onReceive
in class JointQueryTask
public void onCompletion()
onCompletion
in class JointQueryTask
public java.lang.Iterable<SearchResult> getResult()