Class PortalBytesScheduler
java.lang.Object
ecmwf.common.technical.ThreadService.ConfigurableRunnable
ecmwf.common.technical.WakeupThread
ecmwf.common.ecaccess.ECaccessScheduler
ecmwf.common.ecaccess.MBeanScheduler
ecmwf.ecpds.master.scheduler.PortalBytesScheduler
- All Implemented Interfaces:
MBeanService, MonitorCallback, Closeable, AutoCloseable, Runnable
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPortalBytesScheduler(String name, Supplier<ECpdsBase> database, ConcurrentMap<String, long[]> portalBytes, ConcurrentMap<String, long[]> destinationBytes, long retentionMs) -
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
-
Constructor Details
-
PortalBytesScheduler
public PortalBytesScheduler(String name, Supplier<ECpdsBase> database, ConcurrentMap<String, long[]> portalBytes, ConcurrentMap<String, long[]> destinationBytes, long retentionMs)
-
-
Method Details
-
nextStep
public int nextStep()Description copied from class:ECaccessSchedulerNext step.- Specified by:
nextStepin classECaccessScheduler- Returns:
- the int
-