public class ExtendedFuture extends ResponseFuture<Response>
cancelled, cause, connection, messageId, queue
|Constructor and Description|
Creates a new instance of ExtendedFuture.
|Modifier and Type||Method and Description|
Get the ExtendedResponse, blocking until one is received, or until the given timeout is reached.
cancel, cancel, get, getCause, isCancelled, isDone, set, setCause
public ExtendedFuture(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.