Class StorageLifecycleScheduler
java.lang.Object
ecmwf.common.technical.ThreadService.ConfigurableRunnable
ecmwf.common.technical.WakeupThread
ecmwf.common.ecaccess.ECaccessScheduler
ecmwf.common.ecaccess.MBeanScheduler
ecmwf.ecpds.master.storage.StorageLifecycleScheduler
- All Implemented Interfaces:
MBeanService, MonitorCallback, Closeable, AutoCloseable, Runnable
Only removes redundant copies. Normal expiry remains the sole owner of original-file removal.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribe(long id) booleanenabled()Gets the activity.getAttribute(String name) Gets the attribute.Gets the MBean info.intnextStep()Next step.voidreplicationSource(DataTransfer transfer, String preferred) report()retrievalOrder(DataTransfer transfer, List<TransferServer> servers) booleanshouldReplicate(DataTransfer transfer) Any eager/expiry-only policy, operator hold or unhealthy original defeats deferral.Methods inherited from class MBeanScheduler
close, getMonitorName, invoke, setAttribute, 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
-
Constructor Details
-
StorageLifecycleScheduler
-
-
Method Details
-
enabled
public boolean enabled() -
nextStep
public int nextStep()Description copied from class:ECaccessSchedulerNext step.- Specified by:
nextStepin classECaccessScheduler- Returns:
- the int
-
shouldReplicate
Any eager/expiry-only policy, operator hold or unhealthy original defeats deferral. -
retrievalOrder
-
replicationSource
-
describe
-
pin
-
report
-
getActivity
Description copied from class:ECaccessSchedulerGets the activity.- Overrides:
getActivityin classECaccessScheduler- Returns:
- the activity
-
getMBeanInfo
Description copied from class:MBeanSchedulerGets the MBean info. Gets the MBean info.- Specified by:
getMBeanInfoin interfaceMBeanService- Overrides:
getMBeanInfoin classMBeanScheduler- Returns:
- the MBean info
-
getAttribute
Description copied from class:MBeanSchedulerGets the attribute. Gets the attribute.- Specified by:
getAttributein interfaceMBeanService- Overrides:
getAttributein classMBeanScheduler- Parameters:
name- the attribute name- Returns:
- the attribute
- Throws:
AttributeNotFoundException- the attribute not found exceptionMBeanException- the MBean exception
-