Modifier and Type | Method and Description |
---|---|
void |
ArcRepository.store(RemoteFile rf,
StoreMessage replyInfo)
Stores a file in all known replicas.
|
Modifier and Type | Method and Description |
---|---|
RemoteFile |
StoreMessage.getRemoteFile()
Get method for field theRemoteFile.
|
Modifier and Type | Method and Description |
---|---|
void |
BitarchiveMonitor.bitarchiveReply(String bitarchiveBatchID,
String bitarchiveID,
int noOfFilesProcessed,
Collection<File> filesFailed,
RemoteFile remoteFile,
String errMsg,
List<FileBatchJob.ExceptionOccurrence> exceptions)
Handle a reply received from a bitarchive.
|
void |
Bitarchive.upload(RemoteFile arcfile,
String fileName)
Upload an ARC file to this archive.
|
Modifier and Type | Method and Description |
---|---|
RemoteFile |
UploadMessage.getRemoteFile()
Get method for field theRemoteFile.
|
RemoteFile |
BatchEndedMessage.getRemoteFile()
Returns the remote file object containing the output of this job.
|
RemoteFile |
RemoveAndGetFileMessage.getRemoteFile()
Returns the remote file.
|
RemoteFile |
BatchReplyMessage.getResultFile()
Returns the RemoteFile that contains the output of this batchjob.
|
Modifier and Type | Method and Description |
---|---|
void |
BitarchiveClient.sendUploadMessage(RemoteFile rf,
String precomputedChecksum)
Submit an upload request to the bitarchive.
|
Constructor and Description |
---|
BatchEndedMessage(ChannelID to,
String baAppId,
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,
String originatingBatchMsgId,
int filesProcessed,
Collection<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.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseChecksumArchive.upload(RemoteFile file,
String filename) |
void |
ChecksumArchive.upload(RemoteFile arcfile,
String filename)
Method for uploading a new file to the archive.
|
void |
FileChecksumArchive.upload(RemoteFile file,
String filename)
The method for uploading a file to the archive.
|
Modifier and Type | Method and Description |
---|---|
RemoteFile |
CorrectMessage.getCorrectFile()
Method for retrieving the correct file.
|
RemoteFile |
CorrectMessage.getRemovedFile()
Returns the removed file.
|
Modifier and Type | Method and Description |
---|---|
void |
ChecksumClient.sendUploadMessage(RemoteFile rf,
String precomputedChecksum)
Method for uploading a file to the archive.
|
void |
CorrectMessage.setRemovedFile(RemoteFile rf)
Sets the removed file.
|
Constructor and Description |
---|
CorrectMessage(ChannelID to,
ChannelID replyTo,
String badChecksum,
RemoteFile rf,
String repId,
String cred)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
ReplicaClient.sendUploadMessage(RemoteFile rf,
String precomputedChecksum)
Uploads a file to the replica archive.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Field and Description |
---|---|
static Map<RemoteFile,String> |
TestRemoteFile.remainingRemoteFiles |
Modifier and Type | Method and Description |
---|---|
static RemoteFile |
RemoteFileFactory.getCopyfileInstance(File file)
Same as getInstance(file, false, false, false, null).
|
static RemoteFile |
RemoteFileFactory.getCopyfileInstance(File file,
RemoteFileSettings connectionParams)
Same as getInstance(file, false, false, false, connectionParams).
|
static RemoteFile |
RemoteFileFactory.getDistributefileInstance(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(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.arc.ARCRecord record)
Create an instance of this class connected to an ARCRecord.
|
static RemoteFile |
RemoteFileFactory.getInstance(File file,
boolean useChecksums,
boolean fileDeletable,
boolean multipleDownloads) |
static RemoteFile |
TestRemoteFile.getInstance(File remoteFile,
Boolean useChecksums,
Boolean fileDeletable,
Boolean multipleDownloads) |
static RemoteFile |
HTTPSRemoteFile.getInstance(File f,
Boolean useChecksums,
Boolean fileDeletable,
Boolean multipleDownloads)
Initialises a remote file implemented by point-to-point HTTPS communication.
|
static RemoteFile |
HTTPRemoteFile.getInstance(File f,
Boolean useChecksums,
Boolean fileDeletable,
Boolean multipleDownloads)
Initialises a remote file implemented by point-to-point HTTP communication.
|
static RemoteFile |
FTPRemoteFile.getInstance(File localFile,
Boolean useChecksums,
Boolean fileDeletable,
Boolean multipleDownloads)
Create a remote file that handles the transport of the remote file data.
|
static RemoteFile |
NullRemoteFile.getInstance(File f,
Boolean useChecksums,
Boolean fileDeletable,
Boolean multipleDownloads) |
static RemoteFile |
ExtendedFTPRemoteFile.getInstance(File localFile,
Boolean useChecksums,
Boolean fileDeletable,
Boolean multipleDownloads)
This method returns an instance of FTPRemoteFile using the factory method with the same signature in that class.
|
static RemoteFile |
RemoteFileFactory.getInstance(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 |
FTPRemoteFile.getInstance(File localFile,
Boolean useChecksums,
Boolean fileDeletable,
Boolean multipleDownloads,
RemoteFileSettings connectionParams) |
static RemoteFile |
ExtendedFTPRemoteFile.getInstance(File localFile,
Boolean useChecksums,
Boolean fileDeletable,
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.warc.WARCRecord record)
Create an instance of this class connected to a WARCRecord.
|
static RemoteFile |
RemoteFileFactory.getMovefileInstance(File file)
Same as getInstance(file, false, true, false).
|
Modifier and Type | Method and Description |
---|---|
static Set<RemoteFile> |
TestRemoteFile.remainingFiles()
Give the set of remaining remote files.
|
Modifier and Type | Method and Description |
---|---|
RemoteFile |
BatchStatus.getResultFile()
Get the file containing results from a batch job.
|
Constructor and Description |
---|
BatchStatus(Collection<File> filesFailed,
int noOfFilesProcessed,
RemoteFile resultFile,
List<FileBatchJob.ExceptionOccurrence> exceptions)
Create a new BatchStatus object for a specific bitarchive.
|
BatchStatus(String bitArchiveAppId,
Collection<File> filesFailed,
int noOfFilesProcessed,
RemoteFile resultFile,
List<FileBatchJob.ExceptionOccurrence> exceptions)
Create a new BatchStatus object for a specific bitarchive.
|
Modifier and Type | Method and Description |
---|---|
RemoteFile |
IndexRequestMessage.getResultFile()
The index over the requested jobs.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteFile> |
IndexRequestMessage.getResultFiles()
Returns the list of result files for the requested jobs.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexRequestMessage.setResultFile(RemoteFile resultFile)
On reply, set remote file containing index of requested jobs.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexRequestMessage.setResultFiles(List<RemoteFile> resultFiles)
Set several result files making up an index of requested jobs.
|
Copyright © 2005–2018 The Royal Danish Library, the National Library of France and the Austrian National Library.. All rights reserved.