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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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