Class MasterServer.LiveTransferBytesScheduler
java.lang.Object
ecmwf.common.technical.ThreadService.ConfigurableRunnable
ecmwf.common.technical.WakeupThread
ecmwf.common.ecaccess.ECaccessScheduler
ecmwf.common.ecaccess.MBeanScheduler
ecmwf.ecpds.master.MasterServer.LiveTransferBytesScheduler
- All Implemented Interfaces:
MBeanService, MonitorCallback, Closeable, AutoCloseable, Runnable
- Enclosing class:
MasterServer
The Class LiveTransferBytesScheduler. Periodically persists the "Live ECPDS Earth" rolling 24h transferred-bytes
buckets (
LiveTransferRegistry.snapshotBucketsForPersistence()) to a single SYS_CONFIG row, so a
MasterServer restart only loses the handful of minutes since the last save instead of the whole 24h window.-
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
-