Package org.apache.log4j.chainsaw
Class ChainsawAppenderHandler.WorkQueue
java.lang.Object
org.apache.log4j.chainsaw.ChainsawAppenderHandler.WorkQueue
- Enclosing class:
- ChainsawAppenderHandler
Queue of Events are placed in here, which are picked up by an asychronous
thread. The WorkerThread looks for events once a second and processes all
events accumulated during that time..
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
The worker thread converts each queued event to a vector and forwards the vector on to the UI. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
queue
-
workerThread
Thread workerThread
-
-
Constructor Details
-
WorkQueue
protected WorkQueue()
-
-
Method Details
-
enqueue
public final void enqueue(org.apache.log4j.spi.LoggingEvent event) -
stop
public final void stop()
-