|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AsyncMonitorable<T>
This interface defines the task versions of the Monitorable
interface. Needed for streams.
| Method Summary | |
|---|---|
Task<T,Integer> |
addCallback(TaskMode mode,
String name,
Callback cb)
Creates a task that adds a callback to the specified metric. |
Task<T,Metric> |
getMetric(TaskMode mode,
String name)
Creates a task that obtains a metric instance, identified by name. |
Task<T,String[]> |
listMetrics(TaskMode mode)
Creates a task that lists all metrics associated with the object. |
Task<T,Void> |
removeCallback(TaskMode mode,
String name,
int cookie)
Creates a task that removes the specified callback. |
| Methods inherited from interface org.ogf.saga.monitoring.Monitorable |
|---|
addCallback, getMetric, listMetrics, removeCallback |
| Method Detail |
|---|
Task<T,String[]> listMetrics(TaskMode mode)
throws NotImplementedException
mode - the task mode.
NotImplementedException - is thrown when the task version of this method is not
implemented.
Task<T,Metric> getMetric(TaskMode mode,
String name)
throws NotImplementedException
mode - the task mode.name - the name of the metric to be returned.
NotImplementedException - is thrown when the task version of this method is not
implemented.
Task<T,Integer> addCallback(TaskMode mode,
String name,
Callback cb)
throws NotImplementedException
mode - the task mode.name - identifier the metric to which the callback is to be added.cb - the callback to be added.
NotImplementedException - is thrown when the task version of this method is not
implemented.
Task<T,Void> removeCallback(TaskMode mode,
String name,
int cookie)
throws NotImplementedException
mode - the task mode.name - identifier the metric from which the callback is to be
removed.cookie - identifies the callback to be removed.
NotImplementedException - is thrown when the task version of this method is not
implemented.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||