Class WorkerThread

  • All Implemented Interfaces:
    java.lang.Runnable

    public class WorkerThread
    extends java.lang.Thread
    This class represents a worker thread. Hundreds of these threads are instantiated in order to perform crawling and extraction.
    • Field Detail

      • id

        protected final java.lang.String id
        Thread id
      • documentQueue

        protected final DocumentQueue documentQueue
        This is a reference to the static main document queue
      • resetManager

        protected final WorkerResetManager resetManager
        Worker thread pool reset manager
      • queueTracker

        protected final QueueTracker queueTracker
        Queue tracker
      • processID

        protected final java.lang.String processID
        Process ID
      • MAX_ADDS_IN_TRANSACTION

        protected static final int MAX_ADDS_IN_TRANSACTION
        The maximum number of adds that happen in a single transaction
        See Also:
        Constant Field Values