|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.opends.server.api.DirectoryThread
org.opends.server.extensions.DynamicGroupSearchThread
public class DynamicGroupSearchThread
This class implements a Directory Server thread that will be used to perform
a background search to retrieve all of the members of a dynamic group.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
DynamicGroupSearchThread(DynamicGroupMemberList memberList,
DN[] baseDNs,
SearchFilter[] filters,
LDAPURL[][] memberURLs)
Creates a new dynamic group search thread that is associated with the provided member list and that will perform the search using the provided information. |
Method Summary | |
---|---|
void |
handleInternalSearchEntry(InternalSearchOperation searchOperation,
SearchResultEntry searchEntry)
Performs any processing necessary for the provided search result entry. |
void |
handleInternalSearchReference(InternalSearchOperation searchOperation,
SearchResultReference searchReference)
Performs any processing necessary for the provided search result reference. |
void |
run()
Performs the set of searches and provides the results to the associated member list. |
Methods inherited from class org.opends.server.api.DirectoryThread |
---|
getAssociatedTask, getCreationStackTrace, getDebugProperties, getParentThread, setAssociatedTask |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DynamicGroupSearchThread(DynamicGroupMemberList memberList, DN[] baseDNs, SearchFilter[] filters, LDAPURL[][] memberURLs)
memberList
- The dynamic group member list with which this thread is
associated.baseDNs
- The set of base DNs to use for the search requests.filters
- The set of search filters to use for the search
requests.memberURLs
- The set of member URLs to use when determining if
entries match the necessary group criteria.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void handleInternalSearchEntry(InternalSearchOperation searchOperation, SearchResultEntry searchEntry) throws DirectoryException
handleInternalSearchEntry
in interface InternalSearchListener
searchOperation
- The internal search operation being
processed.searchEntry
- The matching search result entry to be
processed.
DirectoryException
- If a problem occurred while handling
the provided entry. Search
processing will be terminated, and
the search operation will result
will be set based on this exception.public void handleInternalSearchReference(InternalSearchOperation searchOperation, SearchResultReference searchReference)
handleInternalSearchReference
in interface InternalSearchListener
searchOperation
- The internal search operation being
processed.searchReference
- The search result reference to be
processed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |