public class ThreadGroupRenderer extends java.lang.Object implements ObjectRenderer
ThreadGroup objects in a format similar to the
information output by the ThreadGroup.list() method.| 构造器和说明 |
|---|
ThreadGroupRenderer() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
doRender(java.lang.Object o)
Render a
ThreadGroup object similar to the way that the
ThreadGroup.list() method output information. |
public java.lang.String doRender(java.lang.Object o)
ThreadGroup object similar to the way that the
ThreadGroup.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().
doRender 在接口中 ObjectRenderer