|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.util.ThreadedTaskService
public class ThreadedTaskService
Field Summary |
---|
Fields inherited from class gov.nasa.worldwind.avlist.AVListImpl |
---|
changeSupport |
Constructor Summary | |
---|---|
ThreadedTaskService()
|
Method Summary | |
---|---|
void |
addTask(java.lang.Runnable runnable)
Enqueues a task to run. |
boolean |
contains(java.lang.Runnable runnable)
|
boolean |
hasActiveTasks()
|
boolean |
isFull()
|
void |
shutdown(boolean immediately)
|
void |
uncaughtException(java.lang.Thread thread,
java.lang.Throwable throwable)
|
Methods inherited from class gov.nasa.worldwind.WWObjectImpl |
---|
propertyChange |
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
Constructor Detail |
---|
public ThreadedTaskService()
Method Detail |
---|
public void addTask(java.lang.Runnable runnable)
addTask
in interface TaskService
runnable
- the task to add
java.lang.IllegalArgumentException
- if runnable
is nullpublic boolean contains(java.lang.Runnable runnable)
contains
in interface TaskService
public boolean hasActiveTasks()
hasActiveTasks
in interface TaskService
public boolean isFull()
isFull
in interface TaskService
public void shutdown(boolean immediately)
shutdown
in interface TaskService
public void uncaughtException(java.lang.Thread thread, java.lang.Throwable throwable)
uncaughtException
in interface java.lang.Thread.UncaughtExceptionHandler
|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |