Package org.ldaptive.concurrent
Class SearchOperationWorker
java.lang.Object
org.ldaptive.concurrent.AbstractOperationWorker<SearchOperation,SearchRequest,SearchResponse>
org.ldaptive.concurrent.SearchOperationWorker
- All Implemented Interfaces:
OperationWorker<SearchRequest,SearchResponse>
public class SearchOperationWorker
extends AbstractOperationWorker<SearchOperation,SearchRequest,SearchResponse>
Executes multiple ldap search operations asynchronously.
-
Field Summary
Fields inherited from class org.ldaptive.concurrent.AbstractOperationWorker
logger -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.Creates a new search operation worker. -
Method Summary
Modifier and TypeMethodDescriptionPerforms search operations for the supplied filters.Performs search operations for the supplied filters with the supplied return attributesexecute(FilterTemplate... templates) Performs search operations for the supplied filters.execute(FilterTemplate[] templates, String... attrs) Performs search operations for the supplied filters with the supplied return attributesMethods inherited from class org.ldaptive.concurrent.AbstractOperationWorker
execute, getOperation, send, setOperation, toString
-
Constructor Details
-
SearchOperationWorker
public SearchOperationWorker()Default constructor. -
SearchOperationWorker
Creates a new search operation worker.- Parameters:
op- search operation to execute
-
-
Method Details
-
execute
Performs search operations for the supplied filters.- Parameters:
filters- to search with- Returns:
- search results
-
execute
Performs search operations for the supplied filters.- Parameters:
templates- to search with- Returns:
- search results
-
execute
Performs search operations for the supplied filters with the supplied return attributes- Parameters:
filters- to search withattrs- attributes to return- Returns:
- search results
-
execute
Performs search operations for the supplied filters with the supplied return attributes- Parameters:
templates- to search withattrs- attributes to return- Returns:
- search results
-