Class TransferServerProvider

java.lang.Object
ecmwf.ecpds.master.transfer.TransferServerProvider

public final class TransferServerProvider extends Object
The Class TransferServerProvider.
  • Constructor Details Link icon

    • TransferServerProvider Link icon

      public TransferServerProvider(String caller, boolean checkCluster, Integer allocatedFileSystem, String transferGroup, String destination, MasterServer master, Host primaryHost) throws TransferServerProvider.TransferServerException, DataBaseException
      Instantiates a new transfer server provider.
      Parameters:
      caller - the caller
      checkCluster - allow specifying if we should check if the transfer group is part of a cluster. If it is the case then we should allocate one DataMover among the DataMovers who belong to all the cluster. If a transfer group is provided as a parameter then this parameter is not used.
      allocatedFileSystem - the allocated file system. If it is set to -1 then it will not be used when getting the list of active DataMovers. If it is set to null then it will be automatically allocated.
      transferGroup - the transfer group
      destination - the destination
      master - the master
      primaryHost - allow forcing the primary host
      Throws:
      TransferServerProvider.TransferServerException - the transfer server exception
      DataBaseException - the data base exception
  • Method Details Link icon

    • getFileSystem Link icon

      public int getFileSystem()
      Gets the file system.
      Returns:
      the file system
    • getTransferGroup Link icon

      public TransferGroup getTransferGroup()
      Gets the transfer group.
      Returns:
      the transfer group
    • getTransferServers Link icon

      public List<TransferServer> getTransferServers()
      Gets the transfer servers.
      Returns:
      the transfer servers