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.int
Gets the destination size.Gets the destination start date.Gets the destination status.int
Gets the destination step.Gets the last failed transfer.Gets the last transfer.Gets the monitor manager.int
Gets the pending data transfers count.void
setDataTransfersInCache
(DataTransfer[] dataTransfersInCache) Sets the data transfers in cache.void
setDestinationName
(String destinationName) Sets the destination name.void
setDestinationSize
(Integer destinationSize) Sets the destination size.void
setDestinationStartDate
(Date destinationStartDate) Sets the destination start date.void
setDestinationStatus
(String status) Sets the destination status.void
setDestinationStep
(Integer destinationStep) Sets the destination step.void
setLastFailedTransfer
(DataTransfer failedTransfer) Sets the last failed transfer.void
setLastTransfer
(DataTransfer transfer) Sets the last transfer.void
setMonitorManager
(MonitorManager monitorManager) Sets the monitor manager.void
setPendingDataTransfersCount
(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
-