Package org.apache.log4j.or
Class ThreadGroupRenderer
- java.lang.Object
-
- org.apache.log4j.or.ThreadGroupRenderer
-
- All Implemented Interfaces:
ObjectRenderer
public class ThreadGroupRenderer extends java.lang.Object implements ObjectRenderer
RenderThreadGroup
objects in a format similar to the information output by theThreadGroup.list()
method.- Since:
- 1.0
- Author:
- Ceki Gülcü
-
-
Constructor Summary
Constructors Constructor Description ThreadGroupRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
doRender(java.lang.Object o)
Render aThreadGroup
object similar to the way that theThreadGroup.list()
method output information.
-
-
-
Method Detail
-
doRender
public java.lang.String doRender(java.lang.Object o)
Render aThreadGroup
object similar to the way that theThreadGroup.list()
method output information.The output of a simple program consisting of one
main
thread 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:
doRender
in interfaceObjectRenderer
-
-