Package com.onenetwork.platform.tools.io
Class Threads
java.lang.Object
com.onenetwork.platform.tools.io.Threads
public class Threads
extends java.lang.Object
Utility class for manipulating Threads.
-
Constructor Summary
Constructors Constructor Description Threads()
-
Method Summary
Modifier and Type Method Description static java.lang.String
stackString(java.lang.Thread thread)
Return the current stack of the given thread as a single string
-
Constructor Details
-
Threads
public Threads()
-
-
Method Details
-
stackString
public static java.lang.String stackString(java.lang.Thread thread)Return the current stack of the given thread as a single string- Parameters:
thread
- thread whose stack should be extracted- Returns:
- string representation of threads' stack
-