|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MeasurementFacet
Implementations of this facet perform the collection of measurement data exposed by a managed resource.
Method Summary | |
---|---|
void |
getValues(MeasurementReport report,
Set<MeasurementScheduleRequest> metrics)
Collects measurement data exposed by managed resources and returns that data in a measurement report. the provided set of request s specify which metrics are being requested. |
Method Detail |
---|
void getValues(MeasurementReport report, Set<MeasurementScheduleRequest> metrics) throws Exception
request
s specify which metrics are being requested. All
collected data should be added to the provided report
.
If there is no data available for one of the requested metrics, there are several ways an implementation of this method can indicate that:
datum
to the reportdatum
with a value of null to the reportdatum
with a value
of Double.NaN
to the report
The key to the improvement in metric collection performance and reduction in monitoring overhead is to take
advantage of the situations where a single remote call can return more than one piece of data; e.g. a JMX MBean
getAttributes
call, or
a database SELECT.
report
- the report to which all collected measurement data should be addedmetrics
- a set of requests describing the metrics being requested
Exception
- if the component failed to obtain one or more values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |