public class ModifyFuture extends ResponseFuture<ModifyResponse>
cancelled, cause, connection, messageId, queue| Constructor and Description |
|---|
ModifyFuture(LdapConnection connection,
int messageId)
Creates a new instance of ModifyFuture.
|
| Modifier and Type | Method and Description |
|---|---|
ModifyResponse |
get(long timeout,
java.util.concurrent.TimeUnit unit)
Get the ModifyResponse, blocking until one is received, or until the
given timeout is reached.
|
java.lang.String |
toString() |
cancel, cancel, get, getCause, isCancelled, isDone, set, setCausepublic ModifyFuture(LdapConnection connection, int messageId)
connection - the LDAP connectionmessageId - The associated messageIdpublic ModifyResponse get(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
get in interface java.util.concurrent.Future<Response>get in class ResponseFuture<ModifyResponse>timeout - unit - java.lang.InterruptedException - if the operation has been cancelled by clientjava.util.concurrent.ExecutionExceptionjava.util.concurrent.TimeoutExceptionpublic java.lang.String toString()
toString in class ResponseFuture<ModifyResponse>