nl.lxtreme.ols.api.task
Interface TaskExecutionService


public interface TaskExecutionService

Provides a service that can execute tasks.


Method Summary
<RESULT_TYPE>
Future<RESULT_TYPE>
execute(Task<RESULT_TYPE> aTask)
          Executes the given task.
 

Method Detail

execute

<RESULT_TYPE> Future<RESULT_TYPE> execute(Task<RESULT_TYPE> aTask)
Executes the given task.

Parameters:
aTask - the task to execute, cannot be null.
Returns:
a Future that can be used to track the result of the task, can not be null.


Copyright © 2012 L'Xtreme IT consultancy. All Rights Reserved.