Class ParallelFileProcessingResult

java.lang.Object
org.apache.tika.batch.ParallelFileProcessingResult

public class ParallelFileProcessingResult extends Object
  • Constructor Details

    • ParallelFileProcessingResult

      public ParallelFileProcessingResult(int considered, int added, int consumed, int numberHandledExceptions, double secondsElapsed, int exitStatus, String causeForTermination)
  • Method Details

    • getConsidered

      public int getConsidered()
      Returns the number of file resources considered. If a filter causes the crawler to ignore a number of resources, this number could be higher than that returned by getConsumed().
      Returns:
      number of file resources considered
    • getAdded

      public int getAdded()
      Returns:
      number of resources added to the queue
    • getConsumed

      public int getConsumed()
      Returns:
      number of resources that were tried to be consumed. There may have been an exception.
    • getCauseForTermination

      public String getCauseForTermination()
      Returns:
      whether the BatchProcess was interrupted by an Interrupter.
    • secondsElapsed

      public double secondsElapsed()
      Returns:
      seconds elapsed since the start of the batch processing
    • getNumberHandledExceptions

      public int getNumberHandledExceptions()
    • getExitStatus

      public int getExitStatus()
      Returns:
      intendedExitStatus
    • toString

      public String toString()
      Overrides:
      toString in class Object