class NotificationThread
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
private java.util.LinkedList |
notificationQueue |
private static int |
NOTIFY |
private boolean |
ready |
private boolean |
running |
private static int |
STOP |
private static int |
WAIT |
private boolean |
waiting |
| Constructor and Description |
|---|
NotificationThread(java.lang.ThreadGroup t)
Creates a new instance of NotificationThread
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addNotification(J3dNotification n)
Adds a notification message to the queue
|
(package private) void |
finish() |
private J3dNotification[] |
getNotifications()
Gets the list of queued notification messages
|
private void |
processNotifications()
Processes all pending notification messages
|
void |
run() |
private void |
runMonitor(int action) |
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 volatile boolean running
private boolean waiting
private boolean ready
private java.util.LinkedList notificationQueue
NotificationThread(java.lang.ThreadGroup t)
void addNotification(J3dNotification n)
private J3dNotification[] getNotifications()
private void processNotifications()
void finish()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadprivate void runMonitor(int action)
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.