com.google.code.tempusfugit.temporal
Class Timeout

java.lang.Object
  extended by com.google.code.tempusfugit.temporal.Timeout

public final class Timeout
extends Object


Method Summary
 boolean hasExpired()
           
static Timeout timeout(Duration duration)
           
static Timeout timeout(Duration duration, StopWatch stopWatch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

timeout

public static Timeout timeout(Duration duration)
Since:
1.1

timeout

public static Timeout timeout(Duration duration,
                              StopWatch stopWatch)
Since:
1.1

hasExpired

public boolean hasExpired()


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