|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bootchart.common.Process
public class Process
Process encapsulation.
Field Summary | |
---|---|
boolean |
active
Whether the process is active. |
List |
childList
A list of children Process es. |
String |
cmd
Command line. |
String |
desc
Process decription (e.g. |
long |
duration
Process duration in milliseconds. |
Process |
parent
Parent process. |
int |
pid
Process ID. |
int |
ppid
Parent process ID. |
List |
samples
A list of process statistics samples. |
Date |
startTime
Process start time. |
static int |
STATE_RUNNING
Running state. |
static int |
STATE_SLEEPING
Sleeping state. |
static int |
STATE_STOPPED
Stopped or traced. |
static int |
STATE_UNDEFINED
Undefined state. |
static int |
STATE_WAITING
Uninterruptible sleep. |
static int |
STATE_ZOMBIE
Zombie state (defunct). |
Constructor Summary | |
---|---|
Process(int pid,
String cmd)
Created a new process. |
Method Summary | |
---|---|
int |
compareTo(Object o)
|
boolean |
equals(Object o)
|
int |
hashCode()
|
String |
toString()
Returns a string representation of the process. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int STATE_UNDEFINED
public static final int STATE_RUNNING
public static final int STATE_SLEEPING
public static final int STATE_WAITING
public static final int STATE_STOPPED
public static final int STATE_ZOMBIE
public int pid
public String cmd
public String desc
public Date startTime
public long duration
public Process parent
public int ppid
public List childList
Process
es.
public List samples
public boolean active
Constructor Detail |
---|
public Process(int pid, String cmd)
pid
- process IDcmd
- command lineMethod Detail |
---|
public String toString()
toString
in class Object
public int compareTo(Object o)
compareTo
in interface Comparable
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |