Class TransferScheduler.MonitoringThread
java.lang.Object
ecmwf.common.technical.ThreadService.ConfigurableRunnable
ecmwf.common.technical.WakeupThread
ecmwf.ecpds.master.transfer.TransferScheduler.MonitoringThread
- All Implemented Interfaces:
MonitorCallback
,Runnable
- Enclosing class:
TransferScheduler
The Class MonitoringThread. The OpsViewManager is used to push the list of Destinations by types and the
MonitorManager is used to push the status for each Destination. The list of Destinations is pushed every 10
minutes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Configurable run.getMonitorManager
(String name) Gets the monitor manager.void
shutdown()
Shutdown.void
unSubscribe
(String name) Remove Monitor subscription for on Destination.Methods inherited from class ecmwf.common.technical.WakeupThread
isOnHold, isSleeping, setOnhold, waitFor, wakeup
Methods inherited from class ecmwf.common.technical.ThreadService.ConfigurableRunnable
execute, execute, getContextClassLoader, getPriority, getThreadName, interrupt, interrupted, isAlive, isStarted, join, join, run, setContextClassLoader, setForceCookie, setInheritCookie, setPriority, setThreadNameAndCookie
-
Constructor Details
-
MonitoringThread
public MonitoringThread()
-
-
Method Details
-
unSubscribe
Remove Monitor subscription for on Destination.- Parameters:
name
- the name
-
getMonitorManager
Gets the monitor manager.- Specified by:
getMonitorManager
in interfaceMonitorCallback
- Parameters:
name
- the name- Returns:
- the monitor manager
- Throws:
MonitorException
- the monitor exception
-
shutdown
public void shutdown()Shutdown. -
configurableRun
public void configurableRun()Configurable run.- Specified by:
configurableRun
in classThreadService.ConfigurableRunnable
-