| 
 | 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
public abstract class AbstractExecutorService
The abstract executor service provides the generic functionality for suspending and resuming tasks.
| Constructor Summary | |
|---|---|
| AbstractExecutorService()Create a new abstract executor service. | |
| Method Summary | |
|---|---|
|  void | cancel(IExecutable task)Cancel a task. | 
| abstract  void | doCancel(IExecutable task)Cancel the task execution. | 
| abstract  void | doExecute(IExecutable task)Execute the task as long as it indicates the execution should continue. | 
|  void | doResume(IExecutable task)Resume the task. | 
|  void | doSuspend(IExecutable task)Suspend the task. | 
|  void | execute(IExecutable task)Execute a task. | 
|  boolean | isShutdowned()Test if service is shutdowned. | 
|  boolean | isSuspended(IExecutable task)Test if a task is suspended. | 
|  void | resume(IExecutable task)Resume a task. | 
|  void | shutdown()Shutdown the executor service. | 
|  void | suspend(IExecutable task)Suspend a task. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface jadex.util.concurrent.IExecutorService | 
|---|
| resume, suspend | 
| Constructor Detail | 
|---|
public AbstractExecutorService()
| Method Detail | 
|---|
public void execute(IExecutable task)
execute in interface IExecutorServicetask - The task to execute.public void cancel(IExecutable task)
cancel in interface IExecutorServicetask - The task to execute.public void suspend(IExecutable task)
suspend in interface IExecutorServicetask - The task to execute.public void resume(IExecutable task)
resume in interface IExecutorServicetask - The task to execute.public void doSuspend(IExecutable task)
public void doResume(IExecutable task)
public boolean isSuspended(IExecutable task)
public void shutdown()
shutdown in interface IExecutorServicepublic boolean isShutdowned()
public abstract void doCancel(IExecutable task)
public abstract void doExecute(IExecutable task)
task - The task to execute.| 
 | 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.