Package | Description |
---|---|
org.ogf.saga.monitoring |
The monitoring package defines the
Monitorable interface,
which must be implemented by monitorable SAGA objects, and also
defines the
Steerable interface,
which extends the monitoring mechanism with the ability to push
values back to the monitored entity. |
Modifier and Type | Method and Description |
---|---|
static Metric |
MonitoringFactory.createMetric(String name,
String desc,
String mode,
String unit,
String type,
String value)
Constructs a
Metric object with the specified parameters. |
static Metric |
MonitoringFactory.createMetric(String sagaFactoryClassname,
String name,
String desc,
String mode,
String unit,
String type,
String value)
Constructs a
Metric object with the specified parameters. |
protected abstract Metric |
MonitoringFactory.doCreateMetric(String name,
String desc,
String mode,
String unit,
String type,
String value)
Constructs a
Metric object with the specified parameters. |
Metric |
Monitorable.getMetric(String name)
Returns a metric instance, identified by name.
|
Modifier and Type | Method and Description |
---|---|
Task<T,Metric> |
AsyncMonitorable.getMetric(TaskMode mode,
String name)
Creates a task that obtains a metric instance, identified by name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Steerable.addMetric(Metric metric)
Adds a metric instance to the application instance.
|
Task<T,Boolean> |
AsyncSteerable.addMetric(TaskMode mode,
Metric metric)
Creates a task that adds a metric instance to the application instance.
|
boolean |
Callback.cb(Monitorable mt,
Metric metric,
Context ctx)
Asynchronous handler for metric changes.
|
Copyright © 2016 Open Grid Forum. All rights reserved.