Jadex 0.96-beta1

jadex.util.concurrent
Interface IExecutorService

All Known Implementing Classes:
AbstractExecutorService, AsyncExecutorService, SyncExecutorService

public interface IExecutorService

Common interface for different executor services.


Method Summary
 void cancel(IExecutable task)
          Cancel a task.
 void execute(IExecutable task)
          Execute a task.
 void resume()
          Resume the service (all tasks).
 void resume(IExecutable task)
          Resume a task.
 void shutdown()
          Shutdown the executor service.
 void suspend()
          Suspend the service (all tasks).
 void suspend(IExecutable task)
          Suspend a task.
 

Method Detail

execute

void execute(IExecutable task)
Execute a task. Triggers the task to be executed in future.

Parameters:
task - The task to execute.

cancel

void cancel(IExecutable task)
Cancel a task. Triggers the task to be not executed in future.

Parameters:
task - The task to execute.

suspend

void suspend(IExecutable task)
Suspend a task. The task will not be executed until resume is called.

Parameters:
task - The task to execute.

resume

void resume(IExecutable task)
Resume a task. Triggers the task to be not executed again.

Parameters:
task - The task to execute.

suspend

void suspend()
Suspend the service (all tasks).


resume

void resume()
Resume the service (all tasks).


shutdown

void shutdown()
Shutdown the executor service.


Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.