Packages

trait ThreadMXBean extends AnyRef

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ThreadMXBean
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def dumpAllThreads(lockedMonitors: scala.Boolean, lockedSynchronizers: scala.Boolean, maxDepth: Int): Array[ThreadInfo]

    Returns a ThreadInfo for every available thread.

    Returns a ThreadInfo for every available thread.

    lockedMonitors

    whether to dump locked monitors. it has no effect currently

    lockedSynchronizers

    whether to dump locked synchronizers. it has no effect currently

    maxDepth

    the max depth of a stacktrace, must be non-negative (>= 0). it has no effect currently

  2. abstract def dumpAllThreads(lockedMonitors: scala.Boolean, lockedSynchronizers: scala.Boolean): Array[ThreadInfo]

    Returns a ThreadInfo for every available thread.

    Returns a ThreadInfo for every available thread.

    An equivalent of dumpAllThread(lockedMonitors, lockedSynchronizers, 0).

    lockedMonitors

    whether to dump locked monitors. it has no effect currently

    lockedSynchronizers

    whether to dump locked synchronizers. it has no effect currently

    Note

    the stacktrace will not be filled. Use overloaded alternative with the maxDepth parameter to get the stacktrace.

  3. abstract def getAllThreadIds(): Array[scala.Long]

    Returns IDs of all threads.

  4. abstract def getDaemonThreadCount(): Int

    Returns the current number of daemon threads.

  5. abstract def getThreadCount(): Int

    Returns the current number of threads.

  6. abstract def getThreadInfo(ids: Array[scala.Long], maxDepth: Int): Array[ThreadInfo]

    Returns ThreadInfo for the given thread ids.

    Returns ThreadInfo for the given thread ids. Returns null for the corresponding array element if the info is unavailable for the given id (thread doesn't exist).

    ids

    the IDs of the threads, each id must be positive (> 0)

    maxDepth

    the max depth of a stacktrace, must be non-negative (>= 0). it has no effect currently

  7. abstract def getThreadInfo(id: scala.Long, maxDepth: Int): ThreadInfo

    Returns a ThreadInfo for the given thread id.

    Returns a ThreadInfo for the given thread id. Returns null if the info is unavailable for the given id (thread doesn't exist).

    id

    the id of the thread, must be positive (> 0)

    maxDepth

    the max depth of a stacktrace, must be non-negative (>= 0). it has no effect currently

  8. abstract def getThreadInfo(ids: Array[scala.Long]): Array[ThreadInfo]

    Returns a ThreadInfo for threads with corresponding ids.

    Returns a ThreadInfo for threads with corresponding ids. Returns null for the corresponding array element if the info is unavailable for the given id (thread doesn't exist).

    An equivalent of getThreadInfo(ids, 0).

    ids

    the IDs of the threads, each id must be positive (> 0).

  9. abstract def getThreadInfo(id: scala.Long): ThreadInfo

    Returns a ThreadInfo for a thread with the given id.

    Returns a ThreadInfo for a thread with the given id. Returns null if the info is unavailable for the given id (thread doesn't exist).

    An equivalent of getThreadInfo(id, 0).

    id

    the id of the thread

Concrete Value Members

  1. final def !=(arg0: Any): scala.Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): scala.Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: scala.Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: scala.Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: scala.Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped