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