R - The result type returned by this Future's get methodpublic interface ResponseFuture<R extends org.apache.directory.api.ldap.model.message.Response> extends Future<R>
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel the Future
|
Throwable |
getCause() |
void |
set(R response)
Set the associated Response in this Future
|
void |
setCause(Throwable cause)
Associate a cause to the ResponseFuture
|
void set(R response) throws InterruptedException
response - The response to add into the FutureInterruptedException - if the operation has been cancelled by clientThrowable getCause()
void setCause(Throwable cause)
cause - the cause to setvoid cancel()
Copyright © 2009–2019 The Apache Software Foundation. All rights reserved.