public class ModifyDnFuture extends ResponseFuture<org.apache.directory.api.ldap.model.message.ModifyDnResponse>
cancelled, cause, connection, messageId, queue| Constructor and Description |
|---|
ModifyDnFuture(LdapConnection connection,
int messageId)
Creates a new instance of ModifyDnFuture.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.api.ldap.model.message.ModifyDnResponse |
get(long timeout,
TimeUnit unit)
Get the ModifyDnResponse, blocking until one is received, or until the
given timeout is reached.
|
String |
toString() |
cancel, cancel, get, getCause, isCancelled, isDone, set, setCausepublic ModifyDnFuture(LdapConnection connection, int messageId)
connection - the LDAP connectionmessageId - The associated messageIdpublic org.apache.directory.api.ldap.model.message.ModifyDnResponse get(long timeout,
TimeUnit unit)
throws InterruptedException,
ExecutionException,
TimeoutException
get in interface Future<org.apache.directory.api.ldap.model.message.Response>get in class ResponseFuture<org.apache.directory.api.ldap.model.message.ModifyDnResponse>timeout - unit - InterruptedException - if the operation has been cancelled by clientExecutionExceptionTimeoutExceptionpublic String toString()
toString in class ResponseFuture<org.apache.directory.api.ldap.model.message.ModifyDnResponse>Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.