public class ParallelTransfersList extends AbstractServerObject<ServerContext>
Note that each file transfer is a stateless connection just for transferring one particular file.
The entries of this list span all file transfers defined in a FileTransferJobList
. If the last
file is successfully transferred then the entry is removed. If the transfer failed or was cancelled by the
user then the already transferred files are removed from the target directory if rollback is enabled on the job-list.
Constructor and Description |
---|
ParallelTransfersList(ServerContext serverCtx) |
Modifier and Type | Method and Description |
---|---|
FileTransferEntry |
addJob(FileTransferJobList jobs) |
JobId[] |
getRunningJobIds() |
void |
removeJob(FileTransferEntry entry) |
FileTransferEntry |
setTransferRunning(TransferServiceTask task,
FileTransferJob job) |
checkPermission, getServerConfig, getServerContext, getStatisticManager, toString
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString
public ParallelTransfersList(ServerContext serverCtx)
public FileTransferEntry addJob(FileTransferJobList jobs) throws TransferAlreadyRunningException, TooManyTransfersException
public void removeJob(FileTransferEntry entry)
public FileTransferEntry setTransferRunning(TransferServiceTask task, FileTransferJob job) throws NoSuchTransferJobException
NoSuchTransferJobException
public JobId[] getRunningJobIds()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.