Package com.jogamp.common.util
Interface RunnableExecutor
-
- All Known Implementing Classes:
AWTEDTExecutor,RunnableExecutor.CurrentThreadExecutor
public interface RunnableExecutor
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRunnableExecutor.CurrentThreadExecutor
-
Field Summary
Fields Modifier and Type Field Description static RunnableExecutorcurrentThreadExecutorThisRunnableExecutorimplementation simply invokesRunnable.run()on the current thread.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinvoke(boolean wait, Runnable r)
-
-
-
Field Detail
-
currentThreadExecutor
static final RunnableExecutor currentThreadExecutor
ThisRunnableExecutorimplementation simply invokesRunnable.run()on the current thread.
-
-
Method Detail
-
invoke
void invoke(boolean wait, Runnable r)- Parameters:
wait- if true method waits untilRunnable.run()is completed, otherwise don't wait.r- theRunnableto be executed.
-
-