Class ThreadMonitoring
java.lang.Object
org.apache.hadoop.hbase.monitoring.ThreadMonitoring
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.private static String
getTaskName
(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
-