Brooklyn

brooklyn.util.task
[Java] Interface TaskScheduler


public interface TaskScheduler

The scheduler is an internal mechanism to decorate Tasks. It can control how the tasks are scheduled for execution (e.g. single-threaded execution, prioritised, etc).


Method Summary
void injectExecutor(java.util.concurrent.ExecutorService executor)

java.util.concurrent.Future submit(java.util.concurrent.Callable c)

Called by BasicExecutionManager when preprocessor is associated with an execution manager.

 

Method Detail

injectExecutor

public void injectExecutor(java.util.concurrent.ExecutorService executor)


submit

public java.util.concurrent.Future submit(java.util.concurrent.Callable c)
Called by BasicExecutionManager when preprocessor is associated with an execution manager.


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.