Class DestinationSchedulerCache

java.lang.Object
ecmwf.ecpds.master.DestinationSchedulerCache
All Implemented Interfaces:
Serializable, Cloneable

public final class DestinationSchedulerCache extends Object implements Serializable, Cloneable
The Class DestinationSchedulerCache.
See Also:
  • Constructor Details

    • DestinationSchedulerCache

      public DestinationSchedulerCache()
  • Method Details

    • getDestinationName

      public String getDestinationName()
      Gets the destination name.
      Returns:
      the destination name
    • setDestinationName

      public void setDestinationName(String destinationName)
      Sets the destination name.
      Parameters:
      destinationName - the new destination name
    • getMonitorManager

      public MonitorManager getMonitorManager() throws MasterException
      Gets the monitor manager.
      Returns:
      the monitor manager
      Throws:
      MasterException - the master exception
    • setMonitorManager

      public void setMonitorManager(MonitorManager monitorManager)
      Sets the monitor manager.
      Parameters:
      monitorManager - the new monitor manager
    • getDestinationStatus

      public String getDestinationStatus()
      Gets the destination status.
      Returns:
      the destination status
    • setDestinationStatus

      public void setDestinationStatus(String status)
      Sets the destination status.
      Parameters:
      status - the new destination status
    • getLastFailedTransfer

      public DataTransfer getLastFailedTransfer()
      Gets the last failed transfer.
      Returns:
      the last failed transfer
    • setLastFailedTransfer

      public void setLastFailedTransfer(DataTransfer failedTransfer)
      Sets the last failed transfer.
      Parameters:
      failedTransfer - the new last failed transfer
    • getLastTransfer

      public DataTransfer getLastTransfer()
      Gets the last transfer.
      Returns:
      the last transfer
    • setLastTransfer

      public void setLastTransfer(DataTransfer transfer)
      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

      public void setPendingDataTransfersCount(Integer pendingDataTransfersCount)
      Sets the pending data transfers count.
      Parameters:
      pendingDataTransfersCount - the new pending data transfers count
    • getDestinationStep

      public int getDestinationStep() throws MasterException
      Gets the destination step.
      Returns:
      the destination step
      Throws:
      MasterException - the master exception
    • setDestinationStep

      public void setDestinationStep(Integer destinationStep)
      Sets the destination step.
      Parameters:
      destinationStep - the new destination step
    • getDestinationSize

      public int getDestinationSize() throws MasterException
      Gets the destination size.
      Returns:
      the destination size
      Throws:
      MasterException - the master exception
    • setDestinationSize

      public void setDestinationSize(Integer destinationSize)
      Sets the destination size.
      Parameters:
      destinationSize - the new destination size
    • getDestinationStartDate

      public Date getDestinationStartDate() throws MasterException
      Gets the destination start date.
      Returns:
      the destination start date
      Throws:
      MasterException - the master exception
    • setDestinationStartDate

      public void setDestinationStartDate(Date destinationStartDate)
      Sets the destination start date.
      Parameters:
      destinationStartDate - the new destination start date
    • getDataTransfersInCache

      public DataTransfer[] getDataTransfersInCache()
      Gets the data transfers in cache.
      Returns:
      the data transfers in cache
    • setDataTransfersInCache

      public void setDataTransfersInCache(DataTransfer[] dataTransfersInCache)
      Sets the data transfers in cache.
      Parameters:
      dataTransfersInCache - the new data transfers in cache
    • clone

      public Object clone()
      Clone.
      Overrides:
      clone in class Object