|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
@Deprecated public interface TaskPreprocessor
The preprocessor is an internal mechanism to decorate Tasks. This can be used to enhance tasks that they acquire a synchronized block (to cause them to effectively run singly-threaded), or clear intermediate queued jobs, etc.
Method Summary | |
---|---|
void
|
injectManager(ExecutionManager m)
Called by BasicExecutionManager when preprocessor is associated with an execution manager. |
void
|
injectTag(java.lang.Object tag)
Called by BasicExecutionManager when preprocessor is associated with a tag. |
void
|
onEnd(java.util.Map flags, Task task)
Called by BasicExecutionManager when task is ended in the category, in reverse order of tags. |
void
|
onStart(java.util.Map flags, Task task)
Called by BasicExecutionManager when task is started in the category, in order of tags. |
void
|
onSubmit(java.util.Map flags, Task task)
Called by BasicExecutionManager when task is submitted in the category, in order of tags. |
Method Detail |
---|
public void injectManager(ExecutionManager m)
public void injectTag(java.lang.Object tag)
public void onEnd(java.util.Map flags, Task task)
public void onStart(java.util.Map flags, Task task)
public void onSubmit(java.util.Map flags, Task task)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.