org.ldaptive.concurrent
Class QueueingSearchExecutor.IntermediateResponseHandler
java.lang.Object
org.ldaptive.concurrent.QueueingSearchExecutor.AbstractHandler
org.ldaptive.concurrent.QueueingSearchExecutor.IntermediateResponseHandler
- All Implemented Interfaces:
- Handler<Request,IntermediateResponse>, IntermediateResponseHandler
- Enclosing class:
- QueueingSearchExecutor
protected class QueueingSearchExecutor.IntermediateResponseHandler
- extends QueueingSearchExecutor.AbstractHandler
- implements IntermediateResponseHandler
Places intermediate responses on a blocking queue.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueueingSearchExecutor.IntermediateResponseHandler
public QueueingSearchExecutor.IntermediateResponseHandler(BlockingQueue<QueueingSearchExecutor.SearchItem> q)
- Creates a new intermediate response handler.
- Parameters:
q - blocking queue
handle
public HandlerResult<IntermediateResponse> handle(Connection conn,
Request request,
IntermediateResponse response)
throws LdapException
- Handle the supplied result.
- Specified by:
handle in interface Handler<Request,IntermediateResponse>- Specified by:
handle in interface IntermediateResponseHandler
- Parameters:
conn - connection the operation was executed onrequest - executed by the operationresponse - produced from the operation
- Returns:
- handler result
- Throws:
LdapException - if handling fails
Copyright © 2003-2017 Virginia Tech. All Rights Reserved.