public static long nowInNanos(){
  return System.nanoTime();
}

public static long nowInNanos ( ) { return System . nanoTime ( ) ; }
current time from some arbitrary time base in the past , counting in nanoseconds , and not affected by settimeofday or similar system clock changes . this is appropriate to use when computing how much longer to wait for an interval to expire .
