com.google.code.tempusfugit.concurrency
Class ThreadUtils

java.lang.Object
  extended by com.google.code.tempusfugit.concurrency.ThreadUtils

public final class ThreadUtils
extends Object


Constructor Summary
ThreadUtils()
           
 
Method Summary
static
<T> T
resetInterruptFlagWhen(Interruptible<T> interruptible)
           
static void sleep(Duration duration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadUtils

public ThreadUtils()
Method Detail

sleep

public static void sleep(Duration duration)

resetInterruptFlagWhen

public static <T> T resetInterruptFlagWhen(Interruptible<T> interruptible)


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