public class ReplayThread extends DirectoryThread
DirectoryThread.Factory
Thread.State, Thread.UncaughtExceptionHandler
DIRECTORY_THREAD_GROUP
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ReplayThread(BlockingQueue<UpdateToReplay> updateToReplayQueue,
ReentrantLock switchQueueLock)
Constructor for the ReplayThread.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Run method for this class.
|
void |
shutdown()
Shutdown this replay thread.
|
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 ReplayThread(BlockingQueue<UpdateToReplay> updateToReplayQueue, ReentrantLock switchQueueLock)
updateToReplayQueue
- The queue of update messages we have to replayswitchQueueLock
- lock to ensure moving updates from one queue to another is atomicCopyright © 2010-2017 ForgeRock AS. All Rights Reserved.