class TimerThread
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
private WakeupOnElapsedTimeHeap |
heap |
private WakeupOnElapsedTime |
inputDeviceSchedCond |
private static int |
NOTIFY |
private boolean |
ready |
private boolean |
running |
private WakeupOnElapsedTime |
soundSchedCond |
private static int |
STOP |
private static int |
WAIT |
private boolean |
waiting |
| Constructor and Description |
|---|
TimerThread(java.lang.ThreadGroup t) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
add(WakeupOnElapsedTime wakeup) |
(package private) void |
addInputDeviceSchedCond() |
(package private) void |
addSoundSchedCond(long wakeupTime) |
(package private) void |
finish() |
(package private) void |
remove(WakeupOnElapsedTime w) |
void |
run() |
(package private) void |
runMonitor(int action,
long waitTime) |
activeCount, checkAccess, clone, 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, yieldprivate static final int WAIT
private static final int NOTIFY
private static final int STOP
private WakeupOnElapsedTimeHeap heap
private WakeupOnElapsedTime inputDeviceSchedCond
private WakeupOnElapsedTime soundSchedCond
private volatile boolean running
private boolean waiting
private boolean ready
void add(WakeupOnElapsedTime wakeup)
void addInputDeviceSchedCond()
void addSoundSchedCond(long wakeupTime)
void finish()
void remove(WakeupOnElapsedTime w)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadvoid runMonitor(int action,
long waitTime)
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.