com.google.code.tempusfugit.temporal
Class ThreadSleep

java.lang.Object
  extended by com.google.code.tempusfugit.temporal.ThreadSleep
All Implemented Interfaces:
Sleeper

public class ThreadSleep
extends Object
implements Sleeper


Constructor Summary
ThreadSleep(Duration period)
           
 
Method Summary
 void sleep()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadSleep

public ThreadSleep(Duration period)
Method Detail

sleep

public void sleep()
           throws InterruptedException
Specified by:
sleep in interface Sleeper
Throws:
InterruptedException


Copyright © 2009-2012 tempus-fugit committers. All Rights Reserved.