org.bootchart.common
クラス ProcessTree

java.lang.Object
  上位を拡張 org.bootchart.common.ProcessTree

public class ProcessTree
extends Object

ProcessTree encapsulates a process tree. The tree is built from log files retrieved during the boot process. When building the process tree, it is pruned and merged in order to be able to visualize it in a comprehensible manner.

The following pruning techniques are used:


フィールドの概要
 long duration
          The duration of the process tree (measured from the start time of the first process to the end time of the last process).
 Date endTime
           
 int numProc
          The number of all processes in the tree.
 List processTree
          The Process tree.
 int samplePeriod
          Statistics sampling period.
 Date startTime
          The start time of the graph
 
コンストラクタの概要
ProcessTree(PsStats psStats, String monitoredApp, boolean prune)
          Creates a new process tree from the specified list of Process instances.
 
メソッドの概要
 String toString()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

startTime

public Date startTime
The start time of the graph


endTime

public Date endTime

duration

public long duration
The duration of the process tree (measured from the start time of the first process to the end time of the last process). This is also the total boot time.


samplePeriod

public int samplePeriod
Statistics sampling period.


numProc

public int numProc
The number of all processes in the tree.


processTree

public List processTree
The Process tree.

コンストラクタの詳細

ProcessTree

public ProcessTree(PsStats psStats,
                   String monitoredApp,
                   boolean prune)
Creates a new process tree from the specified list of Process instances.

パラメータ:
psStats - process statistics
monitoredApp - monitored application (or null if the boot process is monitored)
prune - whether to prune the tree by removing sleepy and short-living processes and merging threads
メソッドの詳細

toString

public String toString()
オーバーライド:
クラス Object 内の toString