Brooklyn

Package brooklyn.util.task

 

Interface Summary
CanSetName
DeferredSupplier A class that supplies objects of a single type.
ExecutionListener
TaskPreprocessor The preprocessor is an internal mechanism to decorate Tasks.
TaskScheduler The scheduler is an internal mechanism to decorate Tasks.
 


Class Summary
AbstractExecutionContext
BasicExecutionContext A means of executing tasks against an ExecutionManager with a given bucket/set of tags pre-defined (so that it can look like an java.util.concurrent.Executor and also supply java.util.concurrent.ExecutorService#submit(java.util.concurrent.Callable)
BasicExecutionManager TODO javadoc
BasicTask The basic concrete implementation of a Task to be executed.
BasicTaskStub
CompoundTask A Task that is comprised of other units of work: possibly a heterogeneous mix of Task, java.lang.Runnable, java.util.concurrent.Callable and groovy.lang.Closure instances.
ExecutionUtils
ParallelTask Runs Tasks in parallel.
ScheduledTask
SequentialTask runs tasks in order, waiting for one to finish before starting the next; return value here is TBD; (currently is all the return values of individual tasks, but we might want some pipeline support and eventually only to return final value...)
SingleThreadedExecution Instances of this class ensures that Tasks it is shown execute with in-order single-threaded semantics.
SingleThreadedScheduler Instances of this class ensures that Tasks it is shown execute with in-order single-threaded semantics.
StackTraceSimplifier Utility class for cleaning up stacktraces.
Tasks
 


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