Class ParallelFileProcessingResult


  • public class ParallelFileProcessingResult
    extends Object
    • Constructor Detail

      • ParallelFileProcessingResult

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

      • 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.
      • secondsElapsed

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

        public int getNumberHandledExceptions()
      • getExitStatus

        public int getExitStatus()
        Returns:
        intendedExitStatus