|
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.SyncExecutorService
public class SyncExecutorService
The synchronous executor service that executes all tasks in one thread.
Constructor Summary | |
---|---|
SyncExecutorService()
Create a new synchronous executor service. |
Method Summary | |
---|---|
void |
doCancel(IExecutable task)
Cancel a task. |
void |
doExecute(IExecutable task)
Execute a task in its own thread. |
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, doResume, execute, isShutdowned, isSuspended, resume, suspend |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyncExecutorService()
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 doSuspend(IExecutable task)
doSuspend
in class AbstractExecutorService
task
- The task.public void suspend()
public void resume()
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.