| Package | com.yworks.yfiles.util |
| Interface | public interface TaskExecutor |
Note that the tasks may be executed parallel and are expected to synchronize shared resources themselves.
See also
| Method | Defined By | ||
|---|---|---|---|
dispose():void
Disposes the executor and frees the used resources. | TaskExecutor | ||
Executes all java.lang.Runnable s in the given list and returns as soon as all tasks are finished. | TaskExecutor | ||
| dispose | () | method |
public function dispose():voidDisposes the executor and frees the used resources.
| execute | () | method |
public function execute(tasks:List):voidExecutes all java.lang.Runnable s in the given list and returns as soon as all tasks are finished.
Parameters
tasks:List — The list of java.lang.Runnable s that shall be executed.
|
See also