@InterfaceAudience.LimitedPrivate(value={"HDFS","MapReduce"}) @InterfaceStability.Unstable public final class Time extends Object
Constructor and Description |
---|
Time() |
Modifier and Type | Method and Description |
---|---|
static long |
monotonicNow()
Current time from some arbitrary time base in the past, counting in
milliseconds, and not affected by settimeofday or similar system clock
changes.
|
static long |
now()
Current system time.
|
public static long now()
public static long monotonicNow()
Copyright © 2013 Apache Software Foundation. All rights reserved.