Class DestinationSchedulerCache
java.lang.Object
ecmwf.ecpds.master.DestinationSchedulerCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clone.Gets the data transfers in cache.Gets the destination name.intGets the destination size.Gets the destination start date.Gets the destination status.intGets the destination step.Gets the last failed transfer.Gets the last transfer.Gets the monitor manager.intGets the pending data transfers count.voidsetDataTransfersInCache(DataTransfer[] dataTransfersInCache) Sets the data transfers in cache.voidsetDestinationName(String destinationName) Sets the destination name.voidsetDestinationSize(Integer destinationSize) Sets the destination size.voidsetDestinationStartDate(Date destinationStartDate) Sets the destination start date.voidsetDestinationStatus(String status) Sets the destination status.voidsetDestinationStep(Integer destinationStep) Sets the destination step.voidsetLastFailedTransfer(DataTransfer failedTransfer) Sets the last failed transfer.voidsetLastTransfer(DataTransfer transfer) Sets the last transfer.voidsetMonitorManager(MonitorManager monitorManager) Sets the monitor manager.voidsetPendingDataTransfersCount(Integer pendingDataTransfersCount) Sets the pending data transfers count.
-
Constructor Details
-
DestinationSchedulerCache
public DestinationSchedulerCache()
-
-
Method Details
-
getDestinationName
-
setDestinationName
Sets the destination name.- Parameters:
destinationName- the new destination name
-
getMonitorManager
Gets the monitor manager.- Returns:
- the monitor manager
- Throws:
MasterException- the master exception
-
setMonitorManager
Sets the monitor manager.- Parameters:
monitorManager- the new monitor manager
-
getDestinationStatus
-
setDestinationStatus
Sets the destination status.- Parameters:
status- the new destination status
-
getLastFailedTransfer
Gets the last failed transfer.- Returns:
- the last failed transfer
-
setLastFailedTransfer
Sets the last failed transfer.- Parameters:
failedTransfer- the new last failed transfer
-
getLastTransfer
-
setLastTransfer
Sets the last transfer.- Parameters:
transfer- the new last transfer
-
getPendingDataTransfersCount
public int getPendingDataTransfersCount()Gets the pending data transfers count.- Returns:
- the pending data transfers count
-
setPendingDataTransfersCount
Sets the pending data transfers count.- Parameters:
pendingDataTransfersCount- the new pending data transfers count
-
getDestinationStep
Gets the destination step.- Returns:
- the destination step
- Throws:
MasterException- the master exception
-
setDestinationStep
Sets the destination step.- Parameters:
destinationStep- the new destination step
-
getDestinationSize
Gets the destination size.- Returns:
- the destination size
- Throws:
MasterException- the master exception
-
setDestinationSize
Sets the destination size.- Parameters:
destinationSize- the new destination size
-
getDestinationStartDate
Gets the destination start date.- Returns:
- the destination start date
- Throws:
MasterException- the master exception
-
setDestinationStartDate
Sets the destination start date.- Parameters:
destinationStartDate- the new destination start date
-
getDataTransfersInCache
Gets the data transfers in cache.- Returns:
- the data transfers in cache
-
setDataTransfersInCache
Sets the data transfers in cache.- Parameters:
dataTransfersInCache- the new data transfers in cache
-
clone
-