Package org.apache.log4j.or
Class ThreadGroupRenderer
java.lang.Object
org.apache.log4j.or.ThreadGroupRenderer
- All Implemented Interfaces:
ObjectRenderer
Render
ThreadGroup objects in a format similar to the information output by the ThreadGroup.list()
method.- Since:
- 1.0
- Author:
- Ceki Gülcü
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRender aThreadGroupobject similar to the way that theThreadGroup.list()method output information.
-
Constructor Details
-
ThreadGroupRenderer
public ThreadGroupRenderer()
-
-
Method Details
-
doRender
Render aThreadGroupobject similar to the way that theThreadGroup.list()method output information.The output of a simple program consisting of one
mainthread is:java.lang.ThreadGroup[name=main, maxpri=10] Thread=[main,5,false]
The boolean value in thread information is the value returned by
Thread.isDaemon().- Specified by:
doRenderin interfaceObjectRenderer
-