Class MasterServer.MoverAvailabilityScheduler
java.lang.Object
ecmwf.common.technical.ThreadService.ConfigurableRunnable
ecmwf.common.technical.WakeupThread
ecmwf.common.ecaccess.ECaccessScheduler
ecmwf.common.ecaccess.MBeanScheduler
ecmwf.ecpds.master.MasterServer.MoverAvailabilityScheduler
- All Implemented Interfaces:
MBeanService, MonitorCallback, Closeable, AutoCloseable, Runnable
- Enclosing class:
MasterServer
The Class MoverAvailabilityScheduler. Samples the in-memory heartbeat buffer every minute, writes one row per
mover per minute (1=up, 0=down) to MOVER_AVAILABILITY_SNAPSHOT, and periodically purges old rows.
-
Field Summary
-
Method Summary
Methods inherited from class MBeanScheduler
close, getAttribute, getMBeanInfo, getMonitorName, invoke, setAttribute, shutdownMethods inherited from class ECaccessScheduler
configurableRun, deactivateMonitor, getActivity, getDelay, getJammedTimeout, getLastStepTime, getMonitorManager, getNextStep, getSchedulerState, getStartDate, getStepTime, initialize, isInitialized, isJammed, isOnHold, isRunning, onHold, setDelay, setJammedTimeout, setOnhold, setTimeRanges, start, wakeupMethods inherited from class WakeupThread
isSleeping, waitForMethods inherited from class ThreadService.ConfigurableRunnable
execute, execute, execute, getContextClassLoader, getPriority, getThreadName, interrupt, interrupted, isAlive, isStarted, join, join, run, setContextClassLoader, setForceCookie, setInheritCookie, setPriority, setThreadNameAndCookie
-
Method Details
-
nextStep
public int nextStep()Description copied from class:ECaccessSchedulerNext step.- Specified by:
nextStepin classECaccessScheduler- Returns:
- the int
-