Class MasterServer.DissDownloadScheduler
java.lang.Object
ecmwf.common.technical.ThreadService.ConfigurableRunnable
ecmwf.common.technical.WakeupThread
ecmwf.common.ecaccess.ECaccessScheduler
ecmwf.common.ecaccess.MBeanScheduler
ecmwf.ecpds.master.MasterServer.DownloadScheduler
ecmwf.ecpds.master.MasterServer.DissDownloadScheduler
- All Implemented Interfaces:
MBeanService
,MonitorCallback
,Closeable
,AutoCloseable
,Runnable
- Enclosing class:
MasterServer
The Class DissDownloadScheduler.
-
Field Summary
FieldsFields inherited from class ecmwf.ecpds.master.MasterServer.DownloadScheduler
_debug, _minimumDuration, _minimumRate, _processChecksum
Fields inherited from class ecmwf.common.ecaccess.ECaccessScheduler
NEXT_STEP_ABORT, NEXT_STEP_CONTINUE, NEXT_STEP_DELAY, NEXT_STEP_INIT, SCHEDULER_STATE_CLOSING, SCHEDULER_STATE_JAMMED, SCHEDULER_STATE_OFFLINE, SCHEDULER_STATE_ONHOLD, SCHEDULER_STATE_ONLINE, SCHEDULER_STATE_OPENING, states, steps
-
Constructor Summary
ConstructorsConstructorDescriptionDissDownloadScheduler
(String name) Instantiates a new diss download scheduler. -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String attributeName) Gets the attribute.Gets the data transfers to download iterator.Gets the MBean info.boolean
setAttribute
(String name, Object value) Sets the attribute.Methods inherited from class ecmwf.ecpds.master.MasterServer.DownloadScheduler
getActivity, getDataTransfersCount, getDownloadThreadsCount, getMaxDownloadThreads, getPause, getProgressInterface, getThreadList, getTimeOutDownloadThread, interruptAllDownload, interruptDownload, interruptDownload, invoke, nextStep, setMaxDownloadThreads, setPause, setTimeOutDownloadThread
Methods inherited from class ecmwf.common.ecaccess.MBeanScheduler
close, getMonitorName, shutdown
Methods inherited from class ecmwf.common.ecaccess.ECaccessScheduler
configurableRun, deactivateMonitor, getDelay, getJammedTimeout, getLastStepTime, getMonitorManager, getNextStep, getSchedulerState, getStartDate, getStepTime, initialize, isInitialized, isJammed, isOnHold, isRunning, onHold, setDelay, setJammedTimeout, setOnhold, setTimeRanges, start, wakeup
Methods inherited from class ecmwf.common.technical.WakeupThread
isSleeping, waitFor
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
-
Field Details
-
_cacheRatio
public int _cacheRatioThe _cache ratio.
-
-
Constructor Details
-
DissDownloadScheduler
Instantiates a new diss download scheduler.- Parameters:
name
- the name
-
-
Method Details
-
getMBeanInfo
Gets the MBean info.- Specified by:
getMBeanInfo
in interfaceMBeanService
- Overrides:
getMBeanInfo
in classMasterServer.DownloadScheduler
- Returns:
- the MBean info
-
getAttribute
Gets the attribute.- Specified by:
getAttribute
in interfaceMBeanService
- Overrides:
getAttribute
in classMasterServer.DownloadScheduler
- Parameters:
attributeName
- the attribute name- Returns:
- the attribute
- Throws:
AttributeNotFoundException
- the attribute not found exceptionMBeanException
- the MBean exception
-
setAttribute
public boolean setAttribute(String name, Object value) throws InvalidAttributeValueException, MBeanException Sets the attribute.- Specified by:
setAttribute
in interfaceMBeanService
- Overrides:
setAttribute
in classMasterServer.DownloadScheduler
- Parameters:
name
- the namevalue
- the value- Returns:
- true, if successful
- Throws:
InvalidAttributeValueException
- the invalid attribute value exceptionMBeanException
- the MBean exception
-
getDataTransfersToDownloadIterator
Gets the data transfers to download iterator.- Specified by:
getDataTransfersToDownloadIterator
in classMasterServer.DownloadScheduler
- Returns:
- the data transfers to download iterator
- Throws:
IOException
- Signals that an I/O exception has occurred.SQLException
- the SQL exception
-