Class BitarchiveMonitor.BatchJobStatus

  • Enclosing class:
    BitarchiveMonitor

    public final class BitarchiveMonitor.BatchJobStatus
    extends Object
    Class handling state and updates in batch job status.

    This class remembers information about the batchjob sent, and information from all bitarchive replies received. It also contains information about the original requester of the batchjob.

    • Field Detail

      • originalRequestID

        public final String originalRequestID
        the ID of the original batch request.
      • originalRequestReplyTo

        public final ChannelID originalRequestReplyTo
        The reply channel for the original request.
      • missingRespondents

        public final Set<String> missingRespondents
        set containing the bitarchives that were alive when we sent the job, but haven't answered yet.
      • noOfFilesProcessed

        public int noOfFilesProcessed
        The accumulated number of files processed in replies received so far.
      • filesFailed

        public final Collection<File> filesFailed
        The accumulated list of files failed in replies received so far.
      • errorMessages

        public String errorMessages
        A string with a concatenation of errors. This error message is null, if the job is successful.
      • batchResultFile

        public final File batchResultFile
        A File with a concatenation of results from replies received so far.
    • Method Detail

      • appendError

        public void appendError​(String errMsg)
        Appends the given message to the current error message.
        Parameters:
        errMsg - A message describing what went wrong.