Class MonitoringPublisher
- java.lang.Object
-
- java.lang.Thread
-
- org.opends.server.api.DirectoryThread
-
- org.opends.server.replication.server.MonitoringPublisher
-
- All Implemented Interfaces:
Runnable
public final class MonitoringPublisher extends DirectoryThread
This thread regularly publishes monitoring information:- it sends monitoring messages regarding the direct topology (directly connected DSs and RSs) to the connected RSs
- it sends monitoring messages regarding the whole topology (also includes the local RS) to the connected DSs
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
-
Fields inherited from class org.opends.server.api.DirectoryThread
DIRECTORY_THREAD_GROUP
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description MonitoringPublisher(ReplicationServerDomain replicationServerDomain, long periodMs)
Create a monitoring publisher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
Run method for the monitoring publisher.void
shutdown()
Stops the thread.String
toString()
-
Methods inherited from class org.opends.server.api.DirectoryThread
getAssociatedTask, getDebugProperties, initiateShutdown, isShutdownInitiated, isStarted, isStarting, setAssociatedTask
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, yield
-
-
-
-
Constructor Detail
-
MonitoringPublisher
public MonitoringPublisher(ReplicationServerDomain replicationServerDomain, long periodMs)
Create a monitoring publisher.- Parameters:
replicationServerDomain
- the ReplicationServerDomain the monitoring publisher is forperiodMs
- the period for sending monitoring messages
-
-