Framework Professional Edition Package


com.prosyst.util.system
Class ThreadGroupInfo

java.lang.Object
  extended by com.prosyst.util.system.ThreadGroupInfo

public class ThreadGroupInfo
extends java.lang.Object

This class represents the runtime info for a thread group and all of it's subgroups.


Field Summary
 java.lang.String[] activeThreads
          String array containing info for each active thread.
 java.lang.String name
          Name of this ThreadGroup.
 ThreadGroupInfo[] subGroupsInfo
          ThreadGroupInfo array containing the runtime info for active subgroups.
 
Constructor Summary
ThreadGroupInfo()
           
 
Method Summary
protected  void writeThreadGroupInfo(java.io.DataOutputStream dos)
          Writes the following data in the stream: a String for the thread group name; an int for the number of threads in this ThreadGroup (without subgroups' threads); a String for each active thread; an int for the number of thread groups in this ThreadGroup (only direct childs); The method is called recursively to write the info for the subgroups.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
Name of this ThreadGroup.


activeThreads

public java.lang.String[] activeThreads
String array containing info for each active thread.


subGroupsInfo

public ThreadGroupInfo[] subGroupsInfo
ThreadGroupInfo array containing the runtime info for active subgroups.

Constructor Detail

ThreadGroupInfo

public ThreadGroupInfo()
Method Detail

writeThreadGroupInfo

protected void writeThreadGroupInfo(java.io.DataOutputStream dos)
Writes the following data in the stream: a String for the thread group name; an int for the number of threads in this ThreadGroup (without subgroups' threads); a String for each active thread; an int for the number of thread groups in this ThreadGroup (only direct childs); The method is called recursively to write the info for the subgroups.

Parameters:
dos - stream, where info is written out.

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved