|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bootchart.common.ProcessTree
public class ProcessTree
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:
Field Summary | |
---|---|
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 |
Constructor Summary | |
---|---|
ProcessTree(PsStats psStats,
String monitoredApp,
boolean prune)
Creates a new process tree from the specified list of Process instances. |
Method Summary | |
---|---|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Date startTime
public Date endTime
public long duration
public int samplePeriod
public int numProc
public List processTree
Process
tree.
Constructor Detail |
---|
public ProcessTree(PsStats psStats, String monitoredApp, boolean prune)
Process
instances.
psStats
- process statisticsmonitoredApp
- 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 threadsMethod Detail |
---|
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |