|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskExecutor
Executes several tasks. Tasks are represented by Runnable
s.
Note that the tasks may be executed parallel and are expected to synchronize shared resources themselves.
TaskExecutorFactory
Method Summary | |
---|---|
void |
dispose()
Disposes the executor and frees the used resources. |
void |
execute(java.util.List tasks)
Executes all Runnable s in the given list and returns as soon as all tasks are finished. |
Method Detail |
---|
void execute(java.util.List tasks)
Runnable
s in the given list and returns as soon as all tasks are finished.
tasks
- The list of Runnable
s that shall be executed.void dispose()
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |