|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.util.UtlThread.ThreadStats
public static final class UtlThread.ThreadStats
Used by a thread to track stats related to its execution. This class IS NOT supported for use by end users..
Method Summary | |
---|---|
long |
getAffinityMask()
Gets the cpu affinitization mask that has been applied for the thread. |
String |
getAffinityString()
Gets the cpu affinitization that has been applied for the thread. |
Thread |
getThread()
Gets the thread corresponding to these stats. |
long |
getWaitCount()
Returns the amount of recorded wait calls that the thread has made. |
long |
getWaitTime()
Returns the amount of time in nanoseconds that the thread has spent in recorded wait calls. |
void |
postWait()
Called by a thread to record its exit from waiting. |
void |
preWait()
Called by a thread to mark that it is entering into wait. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final void preWait()
This allows the calculation of the time the thread has spent waiting rather than doing actual work.
public final void postWait()
public final Thread getThread()
public final String getAffinityString()
UtlThread.parseAffinityMask(String)
public final long getAffinityMask()
public long getWaitTime()
public long getWaitCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |