Package | Description |
---|---|
jadex.commons |
This package contains generic utility classes.
|
jadex.commons.concurrent |
This package contains a thread pool implementation.
|
Modifier and Type | Class and Description |
---|---|
class |
ConstantPoolStrategy
Simple strategy with a constant number of workers.
|
class |
DefaultPoolStrategy
This strategy has two parameters:
- The desired number of free workers in the pool
|
Constructor and Description |
---|
ThreadPool(boolean daemon,
IPoolStrategy strategy)
Create a new thread pool.
|
ThreadPool(boolean daemon,
IPoolStrategy strategy,
long maxwait)
Create a new thread pool.
|
ThreadPool(IPoolStrategy strategy)
Create a new thread pool.
|
Copyright © 2013. All Rights Reserved.