public class ParallelSearchExecutor extends AbstractParallelSearchExecutor<ConnectionFactory>
ParallelPooledSearchExecutor
.
A cached thread pool is used by default.logger
Constructor and Description |
---|
ParallelSearchExecutor()
Default constructor.
|
ParallelSearchExecutor(ExecutorService es)
Creates a new parallel search executor.
|
Modifier and Type | Method and Description |
---|---|
Collection<Response<SearchResult>> |
search(ConnectionFactory factory,
SearchFilter[] filters,
String[] attrs,
SearchEntryHandler... handlers)
Performs a search operation with the supplied connection factory.
|
search, search, search, search
createSearchOperation, finalize, getExecutorService, getSearchCache, getSearchExceptionHandler, getSearchResponseHandlers, setSearchCache, setSearchExceptionHandler, setSearchResponseHandlers, shutdown, shutdownNow, toString
equals, getBaseDn, getBinaryAttributes, getDerefAliases, getReturnAttributes, getSearchEntryHandlers, getSearchFilter, getSearchReferenceHandlers, getSearchScope, getSizeLimit, getSortBehavior, getTimeLimit, getTypesOnly, hashCode, newObjectScopeSearchRequest, newObjectScopeSearchRequest, newObjectScopeSearchRequest, newSearchRequest, setBaseDn, setBinaryAttributes, setDerefAliases, setReturnAttributes, setSearchEntryHandlers, setSearchFilter, setSearchReferenceHandlers, setSearchScope, setSizeLimit, setSortBehavior, setTimeLimit, setTypesOnly
getControls, getIntermediateResponseHandlers, getReferralHandler, setControls, setIntermediateResponseHandlers, setReferralHandler
public ParallelSearchExecutor()
public ParallelSearchExecutor(ExecutorService es)
es
- executor servicepublic Collection<Response<SearchResult>> search(ConnectionFactory factory, SearchFilter[] filters, String[] attrs, SearchEntryHandler... handlers) throws LdapException
AbstractParallelSearchExecutor
search
in class AbstractParallelSearchExecutor<ConnectionFactory>
factory
- to get a connection fromfilters
- to search withattrs
- to returnhandlers
- entry handlersLdapException
- if the search failsCopyright © 2003-2019 Virginia Tech. All Rights Reserved.