|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.rice.cs.cunit.record.syncPoints.thread.AThreadSyncPoint.Translated edu.rice.cs.cunit.record.syncPoints.thread.ThreadLeaveSleepSyncPoint.Translated
public static class ThreadLeaveSleepSyncPoint.Translated
Class for translated versions on the monitor side.
Field Summary | |
---|---|
private long |
_duration
Duration of sleep. |
Fields inherited from class edu.rice.cs.cunit.record.syncPoints.thread.AThreadSyncPoint.Translated |
---|
_threadInfo |
Constructor Summary | |
---|---|
ThreadLeaveSleepSyncPoint.Translated(ThreadInfo thread,
long duration)
Constructor for translated version on the monitor side. |
Method Summary | ||
---|---|---|
|
execute(ISyncPointVisitor<R,P> visitor,
P param)
Executes a visitor. |
|
long |
getDuration()
Returns the duration of the sleep |
|
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class edu.rice.cs.cunit.record.syncPoints.thread.AThreadSyncPoint.Translated |
---|
getThreadInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private long _duration
Constructor Detail |
---|
public ThreadLeaveSleepSyncPoint.Translated(ThreadInfo thread, long duration)
thread
- current threadduration
- duration of sleepMethod Detail |
---|
public <R,P> R execute(ISyncPointVisitor<R,P> visitor, P param)
visitor
- visitor to executeparam
- visitor-specific parameter
public long getDuration()
public java.lang.String toString()
toString
in class AThreadSyncPoint.Translated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |