|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jetty.monitor.thread.ThreadMonitorInfo
public class ThreadMonitorInfo
| Constructor Summary | |
|---|---|
ThreadMonitorInfo(java.lang.Thread thread)
Instantiates a new thread monitor info. |
|
| Method Summary | |
|---|---|
long |
getCpuTime()
|
float |
getCpuUtilization()
Gets the CPU utilization. |
long |
getSampleTime()
|
java.lang.StackTraceElement[] |
getStackTrace()
Gets the stack trace. |
long |
getThreadId()
|
java.lang.String |
getThreadName()
Gets the thread name. |
java.lang.String |
getThreadState()
Gets the thread state. |
int |
getTraceCount()
Gets the trace count. |
boolean |
isSpinning()
Checks if is spinning. |
void |
setCpuTime(long ns)
Set the CPU time. |
void |
setSampleTime(long ns)
Sets the sample time. |
void |
setSpinning(boolean value)
Sets the spinning flag. |
void |
setStackTrace(java.lang.StackTraceElement[] stackTrace)
Sets the stack trace. |
void |
setTraceCount(int traceCount)
Sets the trace count. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadMonitorInfo(java.lang.Thread thread)
thread - the thread this object is created for| Method Detail |
|---|
public long getThreadId()
public java.lang.String getThreadName()
public java.lang.String getThreadState()
public java.lang.StackTraceElement[] getStackTrace()
public void setStackTrace(java.lang.StackTraceElement[] stackTrace)
stackTrace - the new stack tracepublic boolean isSpinning()
public void setSpinning(boolean value)
value - the new valuepublic void setTraceCount(int traceCount)
traceCount - the new trace countpublic int getTraceCount()
public long getCpuTime()
public void setCpuTime(long ns)
ns - new CPU timepublic long getSampleTime()
public void setSampleTime(long ns)
ns - the time of samplepublic float getCpuUtilization()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||