edu.rice.cs.cunit.record.syncPoints.thread
Class ThreadEnterSleepSyncPoint

java.lang.Object
  extended by edu.rice.cs.cunit.record.syncPoints.thread.AThreadSyncPoint
      extended by edu.rice.cs.cunit.record.syncPoints.thread.ThreadEnterSleepSyncPoint
All Implemented Interfaces:
ISyncPoint

public class ThreadEnterSleepSyncPoint
extends AThreadSyncPoint

Synchronization point corresponding to a Thread.sleep call.

Author:
Mathias Ricken

Nested Class Summary
static class ThreadEnterSleepSyncPoint.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
_thread
 
Constructor Summary
ThreadEnterSleepSyncPoint(java.lang.Thread thread, long duration)
          Constructor for this synchronization point.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_duration

private long _duration
Duration of sleep.

Constructor Detail

ThreadEnterSleepSyncPoint

public ThreadEnterSleepSyncPoint(java.lang.Thread thread,
                                 long duration)
Constructor for this synchronization point.

Parameters:
thread - current thread
duration - duration of sleep