Static Public Member Functions
edu.tum.cs.ias.knowrob.utils.ThreadPool Class Reference

List of all members.

Static Public Member Functions

static void executeInPool (List< Callable< Void >> threads)
static void executeInPool (List< Callable< Void >> threads, int numParallel)

Detailed Description

Simple Thread execution pool to execute multiple callable objects at same time.

Author:
Stefan Profanter

Definition at line 23 of file ThreadPool.java.


Member Function Documentation

static void edu.tum.cs.ias.knowrob.utils.ThreadPool.executeInPool ( List< Callable< Void >>  threads) [inline, static]

Executes the given callable objects in a thread pool and returns when all threads have finished and all callable objects have been executed.

Parameters:
threadslist of callable objects

Definition at line 33 of file ThreadPool.java.

static void edu.tum.cs.ias.knowrob.utils.ThreadPool.executeInPool ( List< Callable< Void >>  threads,
int  numParallel 
) [inline, static]

Definition at line 36 of file ThreadPool.java.


The documentation for this class was generated from the following file:


knowrob_common
Author(s): Moritz Tenorth
autogenerated on Sat Dec 28 2013 17:09:28