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, yield
public void run()
tick()
upon all CPU cores and
hardware devices configure in the Configuration
classrun
in interface java.lang.Runnable
run
in class java.lang.Thread
public void pause()
public void resume(long value)
public void resumeAsWas()
public long getTime()