Class MoverServer.DownloadRepository
java.lang.Object
ecmwf.common.technical.ThreadService.ConfigurableRunnable
ecmwf.common.technical.WakeupThread
ecmwf.common.ecaccess.ECaccessScheduler
ecmwf.common.ecaccess.MBeanScheduler
ecmwf.common.ecaccess.MBeanRepository<DownloadProgress>
ecmwf.ecpds.mover.MoverServer.DownloadRepository
- All Implemented Interfaces:
MBeanService, MonitorCallback, Closeable, AutoCloseable, Runnable
- Enclosing class:
MoverServer
The Class DownloadRepository.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear.getKey(DownloadProgress progress) Gets the key.getStatus(DownloadProgress progress) Gets the status.getValue(long dataFileId) Get the DownloadProgress using the key.intnextStep()Next step.removeKey(long dataFileId) Removes the key.Removes the key.Methods inherited from class MBeanRepository
containsKey, containsValue, getAttribute, getComparator, getList, getList, getMBeanInfo, getSize, getStatus, getValue, getWakeup, invoke, put, removeKey, removeValue, setComparator, setMaxAuthorisedSize, setWakeup, sortMethods inherited from class MBeanScheduler
close, getMonitorName, 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
-
getKey
Gets the key.- Overrides:
getKeyin classMBeanRepository<DownloadProgress>- Parameters:
progress- the progress- Returns:
- the key
-
removeKey
Removes the key.- Parameters:
dataFileId- the data file id- Returns:
- the download progress
-
getValue
Get the DownloadProgress using the key.- Parameters:
dataFileId- the data file id- Returns:
- the download progress
-
removeKey
Removes the key.- Parameters:
dataFile- the data file- Returns:
- the download progress
-
getStatus
Gets the status.- Overrides:
getStatusin classMBeanRepository<DownloadProgress>- Parameters:
progress- the progress- Returns:
- the status
-
clear
-
nextStep
-