public class MonitoringPublisher extends DirectoryThread
DirectoryThread.FactoryThread.State, Thread.UncaughtExceptionHandlerDIRECTORY_THREAD_GROUPMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
MonitoringPublisher(ReplicationServerDomain replicationServerDomain,
long period)
Create a monitoring publisher.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Run method for the monitoring publisher.
|
void |
setPeriod(long period)
Sets the period value.
|
void |
shutdown()
Stops the thread.
|
void |
waitForShutdown()
Waits for thread death.
|
getAssociatedTask, getCreationStackTrace, getDebugProperties, getParentThread, initiateShutdown, isShutdownInitiated, setAssociatedTask, startWork, stopWorkactiveCount, 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, yieldpublic MonitoringPublisher(ReplicationServerDomain replicationServerDomain, long period)
replicationServerDomain - The ReplicationServerDomain the monitoring
publisher is for.period - The sleep time to usepublic void run()
public void shutdown()
public void waitForShutdown()
public void setPeriod(long period)
period - The new period value.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.