|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AsyncSteerable<T>
This interface specifies the Async versions of the methods in
Steerable
. Needed for job.JobSelf.
Method Summary | |
---|---|
Task<T,Boolean> |
addMetric(TaskMode mode,
Metric metric)
Creates a task that adds a metric instance to the application instance. |
Task<T,Void> |
fireMetric(TaskMode mode,
String name)
Creates a task that pushes a new metric value to the backend. |
Task<T,Void> |
removeMetric(TaskMode mode,
String name)
Creates a task that removes a metric instance. |
Methods inherited from interface org.ogf.saga.monitoring.Steerable |
---|
addMetric, fireMetric, removeMetric |
Method Detail |
---|
Task<T,Boolean> addMetric(TaskMode mode, Metric metric) throws NotImplementedException
mode
- the task mode.metric
- the metric instance to be added.
NotImplementedException
- is thrown when the task version of this method is not
implemented.Task<T,Void> removeMetric(TaskMode mode, String name) throws NotImplementedException
mode
- the task mode.name
- the name of the metric to be removed.
NotImplementedException
- is thrown when the task version of this method is not
implemented.Task<T,Void> fireMetric(TaskMode mode, String name) throws NotImplementedException
mode
- the task mode.name
- the name of the metric to be fired.
NotImplementedException
- is thrown when the task version of this method is not
implemented.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |