|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.util.CurrentTime
public class CurrentTime
The CurrentTime class returns the current system time.
Method Summary | |
---|---|
static long |
getCurrentTime()
Returns the approximate current time in milliseconds. |
static long |
getCurrentTimeActual()
Gets current time, handling test |
static long |
getExactTime()
Returns the exact current time in milliseconds. |
static long |
getExactTimeNanoseconds()
Returns the exact current time in nanoseconds. |
static boolean |
isActive()
|
static boolean |
isTest()
Returns true for testing. |
static void |
yieldIfTest()
Yield if in test mode to maintain ordering |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isActive()
public static long getCurrentTime()
public static long getCurrentTimeActual()
public static long getExactTime()
public static long getExactTimeNanoseconds()
public static boolean isTest()
public static void yieldIfTest()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |