protected class QueueingSearchExecutor.SearchEntryHandler extends QueueingSearchExecutor.AbstractHandler implements SearchEntryHandler
Constructor and Description |
---|
SearchEntryHandler(BlockingQueue<QueueingSearchExecutor.SearchItem> q)
Creates a new search entry handler.
|
Modifier and Type | Method and Description |
---|---|
HandlerResult<SearchEntry> |
handle(Connection conn,
SearchRequest request,
SearchEntry entry)
Handle the supplied result.
|
void |
initializeRequest(SearchRequest request)
Initialize the search request for use with this entry handler.
|
insert
public SearchEntryHandler(BlockingQueue<QueueingSearchExecutor.SearchItem> q)
q
- blocking queuepublic HandlerResult<SearchEntry> handle(Connection conn, SearchRequest request, SearchEntry entry) throws LdapException
Handler
handle
in interface Handler<SearchRequest,SearchEntry>
handle
in interface SearchEntryHandler
conn
- connection the operation was executed onrequest
- executed by the operationentry
- produced from the operationLdapException
- if handling failspublic void initializeRequest(SearchRequest request)
SearchEntryHandler
initializeRequest
in interface SearchEntryHandler
request
- to initialize for this entry handlerCopyright © 2003-2019 Virginia Tech. All Rights Reserved.