Uses of Interface
dk.netarkivet.common.distribute.RemoteFile
-
-
Uses of RemoteFile in dk.netarkivet.archive.arcrepository
Methods in dk.netarkivet.archive.arcrepository with parameters of type RemoteFile Modifier and Type Method Description void
ArcRepository. store(RemoteFile rf, StoreMessage replyInfo)
Stores a file in all known replicas. -
Uses of RemoteFile in dk.netarkivet.archive.arcrepository.distribute
Methods in dk.netarkivet.archive.arcrepository.distribute that return RemoteFile Modifier and Type Method Description RemoteFile
StoreMessage. getRemoteFile()
Get method for field theRemoteFile. -
Uses of RemoteFile in dk.netarkivet.archive.bitarchive
Methods in dk.netarkivet.archive.bitarchive with parameters of type RemoteFile Modifier and Type Method Description void
BitarchiveMonitor. bitarchiveReply(java.lang.String bitarchiveBatchID, java.lang.String bitarchiveID, int noOfFilesProcessed, java.util.Collection<java.io.File> filesFailed, RemoteFile remoteFile, java.lang.String errMsg, java.util.List<FileBatchJob.ExceptionOccurrence> exceptions)
Handle a reply received from a bitarchive.void
Bitarchive. upload(RemoteFile arcfile, java.lang.String fileName)
Upload an ARC file to this archive. -
Uses of RemoteFile in dk.netarkivet.archive.bitarchive.distribute
Methods in dk.netarkivet.archive.bitarchive.distribute that return RemoteFile Modifier and Type Method Description RemoteFile
BatchEndedMessage. getRemoteFile()
Returns the remote file object containing the output of this job.RemoteFile
RemoveAndGetFileMessage. getRemoteFile()
Returns the remote file.RemoteFile
UploadMessage. getRemoteFile()
Get method for field theRemoteFile.RemoteFile
BatchReplyMessage. getResultFile()
Returns the RemoteFile that contains the output of this batchjob.Methods in dk.netarkivet.archive.bitarchive.distribute with parameters of type RemoteFile Modifier and Type Method Description void
BitarchiveClient. sendUploadMessage(RemoteFile rf, java.lang.String precomputedChecksum)
Submit an upload request to the bitarchive.Constructors in dk.netarkivet.archive.bitarchive.distribute with parameters of type RemoteFile Constructor Description BatchEndedMessage(ChannelID to, java.lang.String baAppId, java.lang.String originatingBatchMsgId, RemoteFile rf)
Message to signal from a BitarchiveServer to the BitarchiveMonitorServer that the Bit Archive Application identified by BA_ApplicationId has completed its part of the batch job.BatchReplyMessage(ChannelID to, ChannelID replyTo, java.lang.String originatingBatchMsgId, int filesProcessed, java.util.Collection<java.io.File> failedFiles, RemoteFile resultFile)
Message to signal from BitarchiveMonitorServer that the batch job identified by originatingBatchMsgId is completed.UploadMessage(ChannelID to, ChannelID replyTo, RemoteFile rf)
Construct UploadMessage. -
Uses of RemoteFile in dk.netarkivet.archive.checksum
Methods in dk.netarkivet.archive.checksum with parameters of type RemoteFile Modifier and Type Method Description void
ChecksumArchive. upload(RemoteFile arcfile, java.lang.String filename)
Method for uploading a new file to the archive.void
DatabaseChecksumArchive. upload(RemoteFile file, java.lang.String filename)
void
FileChecksumArchive. upload(RemoteFile file, java.lang.String filename)
The method for uploading a file to the archive. -
Uses of RemoteFile in dk.netarkivet.archive.checksum.distribute
Methods in dk.netarkivet.archive.checksum.distribute that return RemoteFile Modifier and Type Method Description RemoteFile
CorrectMessage. getCorrectFile()
Method for retrieving the correct file.RemoteFile
CorrectMessage. getRemovedFile()
Returns the removed file.Methods in dk.netarkivet.archive.checksum.distribute with parameters of type RemoteFile Modifier and Type Method Description void
ChecksumClient. sendUploadMessage(RemoteFile rf, java.lang.String precomputedChecksum)
Method for uploading a file to the archive.void
CorrectMessage. setRemovedFile(RemoteFile rf)
Sets the removed file.Constructors in dk.netarkivet.archive.checksum.distribute with parameters of type RemoteFile Constructor Description CorrectMessage(ChannelID to, ChannelID replyTo, java.lang.String badChecksum, RemoteFile rf, java.lang.String repId, java.lang.String cred)
Constructor. -
Uses of RemoteFile in dk.netarkivet.archive.distribute
Methods in dk.netarkivet.archive.distribute with parameters of type RemoteFile Modifier and Type Method Description void
ReplicaClient. sendUploadMessage(RemoteFile rf, java.lang.String precomputedChecksum)
Uploads a file to the replica archive. -
Uses of RemoteFile in dk.netarkivet.common.distribute
Classes in dk.netarkivet.common.distribute that implement RemoteFile Modifier and Type Class Description class
AbstractRemoteFile
Abstract superclass for easy implementation of remote file.class
ExtendedFTPRemoteFile
This class extends the functionality of FTPRemoteFile by allowing local input to be taken from an ArchiveRecord.class
FileRemoteFile
A file represented as a RemoteFile.class
FTPRemoteFile
Class encapsulating upload to & download from an ftp-server.class
HTTPRemoteFile
A remote file implemented with point-to-point HTTP communication.class
HTTPSRemoteFile
A remote file implemented with point-to-point HTTPS communication.class
NullRemoteFile
This is an implementation of RemoteFile which does nothing and can therefore be used in batch jobs for which no output is required.class
StringRemoteFile
A RemoteFile implementation that just takes a string.class
TestRemoteFile
Version of RemoteFile that reads/writes a file to local storage.Fields in dk.netarkivet.common.distribute with type parameters of type RemoteFile Modifier and Type Field Description static java.util.Map<RemoteFile,java.lang.String>
TestRemoteFile. remainingRemoteFiles
Methods in dk.netarkivet.common.distribute that return RemoteFile Modifier and Type Method Description static RemoteFile
RemoteFileFactory. getCopyfileInstance(java.io.File file)
Same as getInstance(file, false, false, false, null).static RemoteFile
RemoteFileFactory. getCopyfileInstance(java.io.File file, RemoteFileSettings connectionParams)
Same as getInstance(file, false, false, false, connectionParams).static RemoteFile
RemoteFileFactory. getDistributefileInstance(java.io.File file)
Same as getInstance(file, false, false, false).static RemoteFile
RemoteFileFactory. getExtendedInstance(org.archive.io.ArchiveRecord record)
Get an instance connected to an ArchiveRecord.static RemoteFile
ExtendedFTPRemoteFile. getInstance(java.io.File localFile, java.lang.Boolean useChecksums, java.lang.Boolean fileDeletable, java.lang.Boolean multipleDownloads)
This method returns an instance of FTPRemoteFile using the factory method with the same signature in that class.static RemoteFile
ExtendedFTPRemoteFile. getInstance(java.io.File localFile, java.lang.Boolean useChecksums, java.lang.Boolean fileDeletable, java.lang.Boolean multipleDownloads, RemoteFileSettings connectionParams)
This method returns an instance of FTPRemoteFile using the factory method with the same signature in that class.static RemoteFile
ExtendedFTPRemoteFile. getInstance(org.archive.io.arc.ARCRecord record)
Create an instance of this class connected to an ARCRecord.static RemoteFile
ExtendedFTPRemoteFile. getInstance(org.archive.io.ArchiveRecord record)
Create an instance of this class connected to an ARC or WARC record.static RemoteFile
ExtendedFTPRemoteFile. getInstance(org.archive.io.warc.WARCRecord record)
Create an instance of this class connected to a WARCRecord.static RemoteFile
FTPRemoteFile. getInstance(java.io.File localFile, java.lang.Boolean useChecksums, java.lang.Boolean fileDeletable, java.lang.Boolean multipleDownloads)
Create a remote file that handles the transport of the remote file data.static RemoteFile
FTPRemoteFile. getInstance(java.io.File localFile, java.lang.Boolean useChecksums, java.lang.Boolean fileDeletable, java.lang.Boolean multipleDownloads, RemoteFileSettings connectionParams)
static RemoteFile
HTTPRemoteFile. getInstance(java.io.File f, java.lang.Boolean useChecksums, java.lang.Boolean fileDeletable, java.lang.Boolean multipleDownloads)
Initialises a remote file implemented by point-to-point HTTP communication.static RemoteFile
HTTPSRemoteFile. getInstance(java.io.File f, java.lang.Boolean useChecksums, java.lang.Boolean fileDeletable, java.lang.Boolean multipleDownloads)
Initialises a remote file implemented by point-to-point HTTPS communication.static RemoteFile
NullRemoteFile. getInstance(java.io.File f, java.lang.Boolean useChecksums, java.lang.Boolean fileDeletable, java.lang.Boolean multipleDownloads)
static RemoteFile
RemoteFileFactory. getInstance(java.io.File file, boolean useChecksums, boolean fileDeletable, boolean multipleDownloads)
static RemoteFile
RemoteFileFactory. getInstance(java.io.File file, boolean useChecksums, boolean fileDeletable, boolean multipleDownloads, RemoteFileSettings connectionParams)
Create a remote file that handles the transport of the remote file data.static RemoteFile
TestRemoteFile. getInstance(java.io.File remoteFile, java.lang.Boolean useChecksums, java.lang.Boolean fileDeletable, java.lang.Boolean multipleDownloads)
static RemoteFile
RemoteFileFactory. getMovefileInstance(java.io.File file)
Same as getInstance(file, false, true, false).Methods in dk.netarkivet.common.distribute that return types with arguments of type RemoteFile Modifier and Type Method Description static java.util.Set<RemoteFile>
TestRemoteFile. remainingFiles()
Give the set of remaining remote files. -
Uses of RemoteFile in dk.netarkivet.common.distribute.arcrepository
Methods in dk.netarkivet.common.distribute.arcrepository that return RemoteFile Modifier and Type Method Description RemoteFile
BatchStatus. getResultFile()
Get the file containing results from a batch job.Constructors in dk.netarkivet.common.distribute.arcrepository with parameters of type RemoteFile Constructor Description BatchStatus(java.lang.String bitArchiveAppId, java.util.Collection<java.io.File> filesFailed, int noOfFilesProcessed, RemoteFile resultFile, java.util.List<FileBatchJob.ExceptionOccurrence> exceptions)
Create a new BatchStatus object for a specific bitarchive.BatchStatus(java.util.Collection<java.io.File> filesFailed, int noOfFilesProcessed, RemoteFile resultFile, java.util.List<FileBatchJob.ExceptionOccurrence> exceptions)
Create a new BatchStatus object for a specific bitarchive. -
Uses of RemoteFile in dk.netarkivet.harvester.indexserver.distribute
Methods in dk.netarkivet.harvester.indexserver.distribute that return RemoteFile Modifier and Type Method Description RemoteFile
IndexRequestMessage. getResultFile()
The index over the requested jobs.Methods in dk.netarkivet.harvester.indexserver.distribute that return types with arguments of type RemoteFile Modifier and Type Method Description java.util.List<RemoteFile>
IndexRequestMessage. getResultFiles()
Returns the list of result files for the requested jobs.Methods in dk.netarkivet.harvester.indexserver.distribute with parameters of type RemoteFile Modifier and Type Method Description void
IndexRequestMessage. setResultFile(RemoteFile resultFile)
On reply, set remote file containing index of requested jobs.Method parameters in dk.netarkivet.harvester.indexserver.distribute with type arguments of type RemoteFile Modifier and Type Method Description void
IndexRequestMessage. setResultFiles(java.util.List<RemoteFile> resultFiles)
Set several result files making up an index of requested jobs.
-