org.apache.hadoop.util.ProcfsBasedProcessTree
Description: JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared.
Keywords: diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet

`hadoop 0.20.2-cdh3u5` | Overview | Package | Class | Statistics | Help
| Generated by JDiff
PREV CLASS NEXT CLASS FRAMES NO FRAMES | DETAIL: CONSTRUCTORS | METHODS | FIELDS

## Class org.apache.hadoop.util.`ProcfsBasedProcessTree`

The superclass changed from `java.lang.Object` to `org.apache.hadoop.util.ProcessTree`.

Added Constructors
`ProcfsBasedProcessTree`(`String,` boolean) |
`ProcfsBasedProcessTree`(`String,` boolean, long) |
`ProcfsBasedProcessTree`(`String,` boolean, long, String) | Build a new process tree rooted at the pid.
`ProcfsBasedProcessTree`(`String,` String) |

Removed Methods
`String` `getPidFromPidFile`(`String`) | Get PID from a pid-file.

Added Methods
`void` `assertAndDestroyProcessGroup`(`String,` long, boolean) | Make sure that the given pid is a process group leader and then destroy the process group.
`void` `destroy`(`boolean`) | Destroy the process-tree.
`long` `getCumulativeCpuTime`() | Get the CPU time in millisecond used by all the processes in the process-tree since the process-tree created
`long` `getCumulativeRssmem`() | Get the cumulative resident set size (rss) memory used by all the processes in the process-tree.
`long` `getCumulativeRssmem`(`int`) | Get the cumulative resident set size (rss) memory used by all the processes in the process-tree that are older than the passed in age.
`long` `getCumulativeVmem`(`int`) | Get the cumulative virtual memory used by all the processes in the process-tree that are older than the passed in age.
`String` `getProcessTreeDump`() | Get a dump of the process-tree.
`boolean` `isAnyProcessInTreeAlive`() | Is any of the subprocesses in the process-tree alive

Changed Methods
`void` `setSigKillInterval`(`long`) | Now deprecated. | Use {@link ProcfsBasedProcessTree#ProcfsBasedProcessTree( String, boolean, long)} instead

Added Fields
`long` `JIFFY_LENGTH_IN_MILLIS` |
`long` `PAGE_SIZE` |

Changed Fields
`long` `DEFAULT_SLEEPTIME_BEFORE_SIGKILL` | Field was locally defined, but is now inherited from `ProcessTree`. |

`hadoop 0.20.2-cdh3u5` | Overview | Package | Class | Statistics | Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES |