Package org.apache.log4j.chainsaw
Class ChainsawAppenderHandler.WorkQueue
- java.lang.Object
-
- org.apache.log4j.chainsaw.ChainsawAppenderHandler.WorkQueue
-
- Enclosing class:
- ChainsawAppenderHandler
class ChainsawAppenderHandler.WorkQueue extends java.lang.ObjectQueue 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 Classes Modifier and Type Class Description private classChainsawAppenderHandler.WorkQueue.WorkerThreadThe worker thread converts each queued event to a vector and forwards the vector on to the UI.
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.ArrayList<org.apache.log4j.spi.LoggingEvent>queue(package private) java.lang.ThreadworkerThread
-
Constructor Summary
Constructors Modifier Constructor Description protectedWorkQueue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenqueue(org.apache.log4j.spi.LoggingEvent event)voidstop()
-