Class AcqDownloadScheduler
- All Implemented Interfaces:
MBeanService, MonitorCallback, Closeable, AutoCloseable, Runnable
The Class AcqDownloadScheduler.
-
Field Summary
FieldsFields inherited from class DownloadScheduler
_debug, _processChecksum -
Constructor Summary
ConstructorsConstructorDescriptionAcqDownloadScheduler(MasterServer _master, String name) Instantiates a new acq download scheduler. -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String attributeName) Gets the attribute.Gets the data transfers to download iterator.Gets the MBean info.booleansetAttribute(String name, Object value) Sets the attribute.Methods inherited from class DownloadScheduler
getActivity, getDataTransfersCount, getDownloadThreadsCount, getMaxDownloadThreads, getPause, getProgressInterface, getThreadList, interruptAllDownload, interruptDownload, interruptDownload, invoke, nextStep, setMaxDownloadThreads, setPauseMethods inherited from class MBeanScheduler
close, getMonitorName, shutdownMethods inherited from class ECaccessScheduler
configurableRun, deactivateMonitor, 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
-
Field Details
-
_maxPresetPerDestination
public int _maxPresetPerDestinationThe _cache ratio.
-
-
Constructor Details
-
AcqDownloadScheduler
Instantiates a new acq download scheduler.- Parameters:
name- the name
-
-
Method Details
-
getMBeanInfo
Gets the MBean info.- Specified by:
getMBeanInfoin interfaceMBeanService- Overrides:
getMBeanInfoin classDownloadScheduler- Returns:
- the MBean info
-
getAttribute
Gets the attribute.- Specified by:
getAttributein interfaceMBeanService- Overrides:
getAttributein classDownloadScheduler- 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:
setAttributein interfaceMBeanService- Overrides:
setAttributein classDownloadScheduler- Parameters:
name- the namevalue- the value- Returns:
- true, if successful
- Throws:
InvalidAttributeValueException- the invalid attribute value exceptionMBeanException- the MBean exception
-
getDataTransfersToDownloadIterator
public DBIterator<DataTransfer> getDataTransfersToDownloadIterator() throws IOException, SQLExceptionGets the data transfers to download iterator.- Specified by:
getDataTransfersToDownloadIteratorin classDownloadScheduler- Returns:
- the data transfers to download iterator
- Throws:
IOException- Signals that an I/O exception has occurred.SQLException- the SQL exception
-