public class SearchFuture extends ResponseFuture<Response>
cancelled, cause, connection, messageId, queue
|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 SearchFuture(LdapConnection connection, int messageId)
connection- the LDAP connection
messageId- The associated messageId
public Response get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
InterruptedException- if the operation has been cancelled by client
public String toString()
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.