Package co.paralleluniverse.fibers
Class FiberInfo
- java.lang.Object
-
- co.paralleluniverse.fibers.FiberInfo
-
public class FiberInfo extends java.lang.Object
Current information about a fiber returned byFibersMXBean
.
-
-
Constructor Summary
Constructors Constructor Description FiberInfo(long id, java.lang.String name, Strand.State state, java.lang.Object blocker, java.lang.StackTraceElement[] stackTrace)
FiberInfo(long id, java.lang.String name, Strand.State state, java.lang.String blockerName, java.lang.StackTraceElement[] stackTrace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBlocker()
The fiber's currentblocker
.long
getId()
The fiber's ID.java.lang.String
getName()
The fiber's name.java.lang.StackTraceElement[]
getStackTrace()
The fiber's current call stack.Strand.State
getState()
The fiber's currentstate
.
-
-
-
Constructor Detail
-
FiberInfo
public FiberInfo(long id, java.lang.String name, Strand.State state, java.lang.Object blocker, java.lang.StackTraceElement[] stackTrace)
-
FiberInfo
@ConstructorParameters({"id","name","state","blocker","stackTrace"}) public FiberInfo(long id, java.lang.String name, Strand.State state, java.lang.String blockerName, java.lang.StackTraceElement[] stackTrace)
-
-
Method Detail
-
getId
public long getId()
The fiber's ID.
-
getName
public java.lang.String getName()
The fiber's name.
-
getState
public Strand.State getState()
The fiber's currentstate
.
-
getBlocker
public java.lang.String getBlocker()
The fiber's currentblocker
.
-
getStackTrace
public java.lang.StackTraceElement[] getStackTrace()
The fiber's current call stack.
-
-