Generated by
JDiff

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.
 

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.
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.