$search
Static Public Member Functions | |
static void | executeInPool (List< Callable< Void >> threads) |
static void | init () |
Static Public Attributes | |
static ExecutorService | pool |
Simple Thread execution pool to execute multiple callable objects at same time.
Definition at line 23 of file ThreadPool.java.
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.
threads | list of callable objects |
Definition at line 36 of file ThreadPool.java.
static void edu::tum::cs::ias::knowrob::utils::ThreadPool::init | ( | ) | [inline, static] |
Initializes ExecutorService to use maximum ProcessorCount*25 threads at same time
Definition at line 61 of file ThreadPool.java.
ExecutorService edu::tum::cs::ias::knowrob::utils::ThreadPool::pool [static] |
Main pool
Definition at line 27 of file ThreadPool.java.