public class LoadManagingExecutionService extends Object
Modifier and Type | Class and Description |
---|---|
class |
LoadManagingExecutionService.Task
A task info holds a task and meta information.
|
Constructor and Description |
---|
LoadManagingExecutionService(IThreadPool pool)
Create an execution service with default settings
(timeslice=50).
|
LoadManagingExecutionService(IThreadPool threadpool,
long timeslice)
Create an execution service with given settings.
|
public LoadManagingExecutionService(IThreadPool pool)
public LoadManagingExecutionService(IThreadPool threadpool, long timeslice)
public void execute(IExecutable executable, double priority)
executable
- The task to execute.listener
- Called when execution has started.public static void main(String[] args)
Copyright © 2013. All Rights Reserved.