|Constructor and Description|
Creates a new instance of SearchFuture.
|Modifier and Type||Method and Description|
Get the SearchResponse, blocking until one is received, or until the given timeout is reached.
cancel, cancel, get, getCause, isCancelled, isDone, set, setCause
public Response get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
InterruptedException- if the operation has been cancelled by client
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.