org.apache.hadoop.hbase.monitoring
Class ThreadMonitoring
java.lang.Object
org.apache.hadoop.hbase.monitoring.ThreadMonitoring
public abstract class ThreadMonitoring
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadMonitoring
public ThreadMonitoring()
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 © 2012 The Apache Software Foundation. All Rights Reserved.