Packagecom.yworks.yfiles.util
Interfacepublic interface TaskExecutor

Executes several tasks. Tasks are represented by java.lang.Runnable s.

Note that the tasks may be executed parallel and are expected to synchronize shared resources themselves.

See also

com.yworks.yfiles.util.TaskExecutorFactory
java.lang.Runnable


Public Methods
 MethodDefined By
  
dispose():void
Disposes the executor and frees the used resources.
TaskExecutor
  
execute(tasks:List):void
Executes all java.lang.Runnable s in the given list and returns as soon as all tasks are finished.
TaskExecutor
Method Detail
dispose()method
public function dispose():void

Disposes the executor and frees the used resources.

execute()method 
public function execute(tasks:List):void

Executes 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

java.lang.Runnable