Contents
Class TransferServerProvider
java.lang.Object
ecmwf.ecpds.master.transfer.TransferServerProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
The Class TransferServerException. -
Constructor Summary
ConstructorsConstructorDescriptionTransferServerProvider
(String caller, boolean checkCluster, Integer allocatedFileSystem, String transferGroup, String destination, MasterServer master, Host primaryHost) Instantiates a new transfer server provider. -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the file system.Gets the transfer group.Gets the transfer servers.
-
Constructor Details
-
TransferServerProvider
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 callercheckCluster
- 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 groupdestination
- the destinationmaster
- the masterprimaryHost
- allow forcing the primary host- Throws:
TransferServerProvider.TransferServerException
- the transfer server exceptionDataBaseException
- the data base exception
-
-
Method Details