edu.emory.mathcs.util.concurrent.helpers
Class Utils

java.lang.Object
  |
  +--edu.emory.mathcs.util.concurrent.helpers.Utils

public class Utils
extends java.lang.Object


Method Summary
static long awaitNanos(Condition cond, long nanos)
          Warning; this method is rather inefficient and prone to inaccuracies and truncation errors.
static long nanoTime()
          Emulation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

nanoTime

public static long nanoTime()
Emulation. Consider adding platform-specific hooks.


awaitNanos

public static long awaitNanos(Condition cond,
                              long nanos)
                       throws java.lang.InterruptedException
Warning; this method is rather inefficient and prone to inaccuracies and truncation errors.

java.lang.InterruptedException