Class ThreadMonitoring
java.lang.Object
org.apache.hadoop.hbase.monitoring.ThreadMonitoring
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidappendThreadInfo(StringBuilder sb, ThreadInfo info, String indent) Print all of the thread's information and stack traces.static StringformatThreadInfo(ThreadInfo threadInfo, String indent) Format the given ThreadInfo object as a String.private static StringgetTaskName(long id, String name) static ThreadInfo
-
Field Details
-
threadBean
-
STACK_DEPTH
- See Also:
-
-
Constructor Details
-
ThreadMonitoring
public ThreadMonitoring()
-
-
Method Details
-
getThreadInfo
-
formatThreadInfo
Format the given ThreadInfo object as a String.- Parameters:
indent- a prefix for each line, used for nested indentation
-
appendThreadInfo
Print all of the thread's information and stack traces. -
getTaskName
-