Package | Description |
---|---|
jadex.bridge.service.types.clock | |
jadex.bridge.service.types.threadpool | |
jadex.commons |
This package contains generic utility classes.
|
jadex.commons.concurrent |
This package contains a thread pool implementation.
|
jadex.commons.concurrent.java5 |
Modifier and Type | Method and Description |
---|---|
void |
IClockService.setClock(String type,
IThreadPool tp)
Set the clock.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IDaemonThreadPoolService
Interface for threadpool service.
|
interface |
IThreadPoolService
Interface for threadpool service.
|
Modifier and Type | Method and Description |
---|---|
static OutputStream |
SUtil.getOutForSystemIn(IThreadPool tp)
Get an output stream that is automatically fed into the new System.in,
i.e. this method replaces System.in and delivers an output stream to
which can be written.
|
Modifier and Type | Class and Description |
---|---|
class |
ThreadPool
A thread pool manages pool and saves resources
and time by precreating and reusing pool.
|
Modifier and Type | Method and Description |
---|---|
static IThreadPool |
ThreadPoolFactory.createThreadPool()
Create a local thread pool.
|
static IThreadPool |
ThreadPoolFactory.getThreadPool(String name)
Get the global thread pool instance.
|
Constructor and Description |
---|
Executor(IThreadPool threadpool)
Create an executor object.
|
Executor(IThreadPool threadpool,
IExecutable executable)
Create an executor object.
|
LoadManagingExecutionService(IThreadPool pool)
Create an execution service with default settings
(timeslice=50).
|
LoadManagingExecutionService(IThreadPool threadpool,
long timeslice)
Create an execution service with given settings.
|
Modifier and Type | Class and Description |
---|---|
class |
JavaThreadPool
A thread pool based on the java.util.concurrent package.
|
Copyright © 2012. All Rights Reserved.