public class CompareFuture extends ResponseFuture<CompareResponse>
cancelled, cause, connection, messageId, queue
|Constructor and Description|
Creates a new instance of CompareFuture.
|Modifier and Type||Method and Description|
Get the CompareResponse, blocking until one is received, or until the given timeout is reached.
cancel, cancel, get, getCause, isCancelled, isDone, set, setCause
public CompareFuture(LdapConnection connection, int messageId)
connection- the LDAP connection
messageId- the associated messageId
public CompareResponse get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
InterruptedException- if the operation has been cancelled by client
public String toString()
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.