com.kuka.roboticsAPI.concurrencyModel
Class ParallelTasks

java.lang.Object
  extended by com.kuka.roboticsAPI.concurrencyModel.ParallelTasks

public final class ParallelTasks
extends Object

This class starts parallel tasks. The user can choose if doing the parallel tasks is blocking or non-blocking.

This element is not in its final state and might change in future versions.

Method Summary
static void doParallel(ParallelTask... tasks)
          Starts the given parallel tasks.
static void doParallel(ParallelTaskStatementBehavior statementBehavior, ParallelTask... tasks)
          Starts the given parallel tasks.
static void doParallel(Runnable... tasks)
          Starts the given Runnables as parallel tasks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

doParallel

public static void doParallel(Runnable... tasks)
Starts the given Runnables as parallel tasks. This call will block until all tasks have finished.

Parameters:
tasks - The parallel tasks to start.
This element is not in its final state and might change in future versions.

doParallel

public static void doParallel(ParallelTask... tasks)
Starts the given parallel tasks. This call will block until all tasks have finished.

Parameters:
tasks - The parallel tasks to start.
This element is not in its final state and might change in future versions.

doParallel

public static void doParallel(ParallelTaskStatementBehavior statementBehavior,
                              ParallelTask... tasks)
Starts the given parallel tasks. The user can choose if doing the parallel tasks is blocking or non-blocking.

Parameters:
statementBehavior - Indicates the behavior of the doParallel statement. It indicated if the statement blocks until all tasks are finished, or does not block at all.
tasks - The parallel tasks to start.
This element is not in its final state and might change in future versions.


Copyright © 2019. All rights reserved.