public class DynamicGroupSearchThread extends DirectoryThread implements org.forgerock.opendj.ldap.SearchResultHandler
Thread.State, Thread.UncaughtExceptionHandler
DIRECTORY_THREAD_GROUP
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
DynamicGroupSearchThread(DynamicGroupMemberList memberList,
org.forgerock.opendj.ldap.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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
handleEntry(org.forgerock.opendj.ldap.messages.SearchResultEntry entry) |
boolean |
handleReference(org.forgerock.opendj.ldap.messages.SearchResultReference ignored) |
void |
run()
Performs the set of searches and provides the results to the associated member list.
|
getAssociatedTask, getCreationStackTrace, getDebugProperties, getParentThread, initiateShutdown, isShutdownInitiated, setAssociatedTask, startWork, stopWork
activeCount, checkAccess, clone, 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
public DynamicGroupSearchThread(DynamicGroupMemberList memberList, org.forgerock.opendj.ldap.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.public void run()
public boolean handleEntry(org.forgerock.opendj.ldap.messages.SearchResultEntry entry)
handleEntry
in interface org.forgerock.opendj.ldap.SearchResultHandler
public boolean handleReference(org.forgerock.opendj.ldap.messages.SearchResultReference ignored)
handleReference
in interface org.forgerock.opendj.ldap.SearchResultHandler
Copyright © 2010–2017 ForgeRock AS. All rights reserved.