public class Clock
extends java.lang.Thread
| Constructor and Description |
|---|
Clock() |
| Modifier and Type | Method and Description |
|---|---|
long |
getTime() |
void |
pause() |
void |
resume(long value) |
void |
resumeAsWas() |
void |
run()
Forever invoke method
tick() upon all CPU cores and
hardware devices configure in the Configuration class |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic void run()
tick() upon all CPU cores and
hardware devices configure in the Configuration classrun in interface java.lang.Runnablerun in class java.lang.Threadpublic void pause()
public void resume(long value)
public void resumeAsWas()
public long getTime()