Interface ResponseFuture<R extends org.apache.directory.api.ldap.model.message.Response>
- Type Parameters:
R- The result type returned by this Future'sgetmethod
- All Superinterfaces:
Future<R>
- All Known Implementing Classes:
AddFuture, BindFuture, CompareFuture, DeleteFuture, ExtendedFuture, ModifyDnFuture, ModifyFuture, MultipleResponseFuture, SearchFuture, UniqueResponseFuture
public interface ResponseFuture<R extends org.apache.directory.api.ldap.model.message.Response>
extends Future<R>
A Future implementation used in LdapConnection operations.
- Author:
- Apache Directory Project
-
Method Summary
-
Method Details
-
set
Set the associated Response in this Future- Parameters:
response- The response to add into the Future- Throws:
InterruptedException- if the operation has been cancelled by client
-
getCause
-
setCause
Associate a cause to the ResponseFuture- Parameters:
cause- the cause to set
-
cancel
void cancel()Cancel the Future
-