Interface ServerThread
-
@Extensible @DirectoryServerExtension @DirectoryProxyServerExtension(appliesToLocalContent=true, appliesToRemoteContent=false) @SynchronizationServerExtension(appliesToLocalContent=true, appliesToSynchronizedContent=false) @MetricsEngineExtension @BrokerExtension @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface ServerThread
This interface defines a set of methods that may be implemented by a thread which should be run in the server. If an extension needs to create one or more threads, then those threads should implement this interface and they should be created using theServerContext.createThread(com.unboundid.directory.sdk.common.api.ServerThread, java.lang.String)
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
runThread()
Performs the actual processing for this thread.
-
-
-
Method Detail
-
runThread
void runThread() throws LDAPException
Performs the actual processing for this thread. When this method returns, the thread will stop running.- Throws:
LDAPException
- If the thread does not complete successfully.
-
-