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
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 -
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 ecmwf.common.ecaccess.MBeanRepository
containsKey, containsValue, getAttribute, getComparator, getList, getList, getMBeanInfo, getSize, getStatus, getValue, getWakeup, invoke, put, removeKey, removeValue, setComparator, setMaxAuthorisedSize, setWakeup, sortMethods inherited from class ecmwf.common.ecaccess.MBeanScheduler
close, getMonitorName, setAttribute, shutdownMethods inherited from class ecmwf.common.ecaccess.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 ecmwf.common.technical.WakeupThread
isSleeping, waitForMethods 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
-
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
-