public class ModifyDnFuture extends ResponseFuture<ModifyDnResponse>
cancelled, connection, messageId, queue| Constructor and Description |
|---|
ModifyDnFuture(LdapConnection connection,
int messageId)
Creates a new instance of ModifyDnFuture.
|
| Modifier and Type | Method and Description |
|---|---|
ModifyDnResponse |
get()
Get the ModifyDnResponse, blocking until one is received.
|
ModifyDnResponse |
get(long timeout,
TimeUnit unit)
Get the ModifyDnResponse, blocking until one is received, or until the
given timeout is reached.
|
String |
toString() |
cancel, isCancelled, isDone, setpublic ModifyDnFuture(LdapConnection connection, int messageId)
connection - The LdapConnectionmessageId - The associated messageIdpublic ModifyDnResponse get() throws InterruptedException, ExecutionException
get in interface Future<ModifyDnResponse>get in class ResponseFuture<ModifyDnResponse>InterruptedException - if the operation has been cancelled by clientExecutionExceptionpublic ModifyDnResponse get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<ModifyDnResponse>get in class ResponseFuture<ModifyDnResponse>timeout - Number of TimeUnit to waitunit - The TimeUnitInterruptedException - if the operation has been cancelled by clientExecutionExceptionTimeoutExceptionpublic String toString()
toString in class ResponseFuture<ModifyDnResponse>Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.