Module org.autogui
Package org.autogui.base.mapping
Interface GuiMappingContext.ContextExecutorService
- All Known Implementing Classes:
GuiMappingContext.ContextExecutorServiceForkJoin
,GuiMappingContext.ContextExecutorServiceNoThread
,GuiMappingContext.ContextExecutorServiceSingleThread
- Enclosing class:
GuiMappingContext
public static interface GuiMappingContext.ContextExecutorService
a sub-set of
ExecutorService
as the returned type of GuiMappingContext.getTaskRunner()
- Since:
- 1.2
-
Method Summary
-
Method Details
-
submit
submit a task v- Type Parameters:
V
- the returned type of the task- Parameters:
v
- submitted task- Returns:
- future of the task
- See Also:
-
execute
submit a task guaranteed running; non-threading executors can immediately run it- Parameters:
task
- a task- Since:
- 1.6
-
shutdown
void shutdown()shut down the service- See Also:
-