org.apache.hadoop.hbase.monitoring
Class ThreadMonitoring

java.lang.Object
  extended by org.apache.hadoop.hbase.monitoring.ThreadMonitoring

public abstract class ThreadMonitoring
extends Object


Constructor Summary
ThreadMonitoring()
           
 
Method Summary
static void appendThreadInfo(StringBuilder sb, ThreadInfo info, String indent)
          Print all of the thread's information and stack traces.
static String formatThreadInfo(ThreadInfo threadInfo, String indent)
          Format the given ThreadInfo object as a String.
static ThreadInfo getThreadInfo(Thread t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadMonitoring

public ThreadMonitoring()
Method Detail

getThreadInfo

public static ThreadInfo getThreadInfo(Thread t)

formatThreadInfo

public static String formatThreadInfo(ThreadInfo threadInfo,
                                      String indent)
Format the given ThreadInfo object as a String.

Parameters:
indent - a prefix for each line, used for nested indentation

appendThreadInfo

public static void appendThreadInfo(StringBuilder sb,
                                    ThreadInfo info,
                                    String indent)
Print all of the thread's information and stack traces.

Parameters:
sb -
info -
indent -


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.