Package | Description |
---|---|
jadex.bridge.service.clock | |
jadex.bridge.service.threadpool | |
jadex.commons.concurrent |
This package contains a thread pool implementation.
|
jadex.commons.concurrent.java5 |
Modifier and Type | Method and Description |
---|---|
static IClock |
ClockService.createClock(ClockCreationInfo cinfo,
IThreadPool tp)
Create a clock.
|
void |
IClockService.setClock(String type,
IThreadPool tp)
Set the clock.
|
void |
ClockService.setClock(String type,
IThreadPool tp)
Set the clock.
|
Constructor and Description |
---|
ContinuousClock(IClock oldclock,
IThreadPool threadpool)
Create a new clock.
|
ContinuousClock(String name,
long starttime,
double dilation,
IThreadPool threadpool)
Create a new clock.
|
ContinuousClock(String name,
long starttime,
double dilation,
long delta,
IThreadPool threadpool)
Create a new clock.
|
SystemClock(IClock oldclock,
IThreadPool threadpool)
Create a new clock.
|
SystemClock(String name,
long delta,
IThreadPool threadpool)
Create a new clock.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IThreadPoolService
Interface for threadpool service.
|
Modifier and Type | Class and Description |
---|---|
class |
ThreadPoolService
Service wrapper for a threadpool.
|
Constructor and Description |
---|
ThreadPoolService(IThreadPool threadpool,
IServiceProvider provider)
Create a new threadpool service.
|
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.