|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.util.concurrent.AbstractExecutorService
jadex.util.concurrent.AsyncExecutorService
public class AsyncExecutorService
The asynchronous executor service that executes all tasks in separate executors.
Constructor Summary | |
---|---|
AsyncExecutorService()
Create a new asynchronous executor service. |
Method Summary | |
---|---|
void |
doCancel(IExecutable task)
Cancel a task. |
void |
doExecute(IExecutable task)
Execute a task in its own thread. |
void |
doResume(IExecutable task)
Resume the task. |
void |
doSuspend(IExecutable task)
Suspend the task. |
void |
resume()
Resume all tasks. |
void |
shutdown()
Shutdown the executor service. |
void |
suspend()
Suspend all tasks. |
Methods inherited from class jadex.util.concurrent.AbstractExecutorService |
---|
cancel, execute, isShutdowned, isSuspended, resume, suspend |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsyncExecutorService()
Method Detail |
---|
public void doExecute(IExecutable task)
doExecute
in class AbstractExecutorService
task
- The task to execute.
(called from arbitrary threads)public void doCancel(IExecutable task)
doCancel
in class AbstractExecutorService
task
- The task to execute.public void suspend()
public void resume()
public void doSuspend(IExecutable task)
doSuspend
in class AbstractExecutorService
public void doResume(IExecutable task)
doResume
in class AbstractExecutorService
public void shutdown()
shutdown
in interface IExecutorService
shutdown
in class AbstractExecutorService
|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.