Class ChainsawAppenderHandler.WorkQueue.WorkerThread

java.lang.Object
java.lang.Thread
org.apache.log4j.chainsaw.ChainsawAppenderHandler.WorkQueue.WorkerThread
All Implemented Interfaces:
Runnable
Enclosing class:
ChainsawAppenderHandler.WorkQueue

private class ChainsawAppenderHandler.WorkQueue.WorkerThread extends Thread
The worker thread converts each queued event to a vector and forwards the vector on to the UI.
  • Constructor Details

    • WorkerThread

      public WorkerThread()
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • dispatchEventBatch

      private void dispatchEventBatch(ChainsawEventBatch eventBatch)
      Dispatches the event batches contents to all the interested parties by iterating over each identifier and dispatching the ChainsawEventBatchEntry object to each listener that is interested.
      Parameters:
      eventBatch -