Package org.apache.accumulo.fate.util
Class UtilWaitThread
- java.lang.Object
-
- org.apache.accumulo.fate.util.UtilWaitThread
-
public class UtilWaitThread extends Object
-
-
Constructor Summary
Constructors Constructor Description UtilWaitThread()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
sleep(long millis)
static void
sleepUninterruptibly(long sleepFor, TimeUnit unit)
Copied from Guava release 23.
-
-
-
Method Detail
-
sleep
public static void sleep(long millis)
-
sleepUninterruptibly
public static void sleepUninterruptibly(long sleepFor, TimeUnit unit)
Copied from Guava release 23. The Uniterruptibles class was annotated as Beta by Google, therefore unstable to use. The following javadoc was copied from com.google.common.util.concurrent.Uninterruptibles: Utilities for treating interruptible operations as uninterruptible. In all cases, if a thread is interrupted during such a call, the call continues to block until the result is available or the timeout elapses, and only then re-interrupts the thread.
-
-