org.rhq.enterprise.server.measurement
Interface MeasurementChartsManagerLocal

All Known Implementing Classes:
MeasurementChartsManagerBean

public interface MeasurementChartsManagerLocal

Author:
Joseph Marques

Method Summary
 List<MetricDisplaySummary> getMetricDisplaySummariesForAutoGroup(Subject subject, int autoGroupParentResourceId, int autoGroupChildResourceTypeId, int[] measurementDefinitionIds, long begin, long end, boolean enabledOnly)
          Get metric display summaries for an autogroup.
 List<MetricDisplaySummary> getMetricDisplaySummariesForAutoGroup(Subject subject, int parent, int type, String viewName)
           
 List<MetricDisplaySummary> getMetricDisplaySummariesForCompatibleGroup(Subject subject, int groupId, int[] measurementDefinitionIds, long begin, long end, boolean enabledOnly)
          Get metric display summaries for a compatible group
 List<MetricDisplaySummary> getMetricDisplaySummariesForCompatibleGroup(Subject subject, int groupId, String viewName)
           
 List<MetricDisplaySummary> getMetricDisplaySummariesForMetrics(Subject subject, int resourceId, DataType dataType, long begin, long end, boolean narrowed, boolean enabledOnly)
          Deprecated. 
 Map<MeasurementDefinition,List<MetricDisplaySummary>> getMetricDisplaySummariesForMetricsCompare(Subject subject, int[] resourceIds, int[] measurementDefinitionIds, long begin, long end)
          Get metric display summaries for the resources and measurements that are passed
 List<MetricDisplaySummary> getMetricDisplaySummariesForResource(Subject subject, int resourceId, int[] measurementScheduleIds, long begin, long end)
           
 List<MetricDisplaySummary> getMetricDisplaySummariesForResource(Subject subject, int resourceId, String viewName)
           
 

Method Detail

getMetricDisplaySummariesForMetrics

@Deprecated
List<MetricDisplaySummary> getMetricDisplaySummariesForMetrics(Subject subject,
                                                                          int resourceId,
                                                                          DataType dataType,
                                                                          long begin,
                                                                          long end,
                                                                          boolean narrowed,
                                                                          boolean enabledOnly)
                                                               throws MeasurementException
Deprecated. 

Throws:
MeasurementException

getMetricDisplaySummariesForCompatibleGroup

List<MetricDisplaySummary> getMetricDisplaySummariesForCompatibleGroup(Subject subject,
                                                                       int groupId,
                                                                       int[] measurementDefinitionIds,
                                                                       long begin,
                                                                       long end,
                                                                       boolean enabledOnly)
                                                                       throws MeasurementException
Get metric display summaries for a compatible group

Parameters:
subject -
groupId -
measurementDefinitionIds -
begin -
end -
enabledOnly - only show results for metric that are actually enabled
Returns:
Throws:
MeasurementException

getMetricDisplaySummariesForCompatibleGroup

List<MetricDisplaySummary> getMetricDisplaySummariesForCompatibleGroup(Subject subject,
                                                                       int groupId,
                                                                       String viewName)

getMetricDisplaySummariesForAutoGroup

List<MetricDisplaySummary> getMetricDisplaySummariesForAutoGroup(Subject subject,
                                                                 int autoGroupParentResourceId,
                                                                 int autoGroupChildResourceTypeId,
                                                                 int[] measurementDefinitionIds,
                                                                 long begin,
                                                                 long end,
                                                                 boolean enabledOnly)
                                                                 throws MeasurementException
Get metric display summaries for an autogroup.

Parameters:
subject -
autoGroupParentResourceId -
autoGroupChildResourceTypeId -
measurementDefinitionIds -
begin -
end -
enabledOnly - only show results for metric that are actually enabled
Returns:
Throws:
MeasurementException

getMetricDisplaySummariesForAutoGroup

List<MetricDisplaySummary> getMetricDisplaySummariesForAutoGroup(Subject subject,
                                                                 int parent,
                                                                 int type,
                                                                 String viewName)

getMetricDisplaySummariesForResource

List<MetricDisplaySummary> getMetricDisplaySummariesForResource(Subject subject,
                                                                int resourceId,
                                                                int[] measurementScheduleIds,
                                                                long begin,
                                                                long end)
                                                                throws MeasurementException
Throws:
MeasurementException

getMetricDisplaySummariesForResource

List<MetricDisplaySummary> getMetricDisplaySummariesForResource(Subject subject,
                                                                int resourceId,
                                                                String viewName)
                                                                throws MeasurementException
Throws:
MeasurementException

getMetricDisplaySummariesForMetricsCompare

Map<MeasurementDefinition,List<MetricDisplaySummary>> getMetricDisplaySummariesForMetricsCompare(Subject subject,
                                                                                                 int[] resourceIds,
                                                                                                 int[] measurementDefinitionIds,
                                                                                                 long begin,
                                                                                                 long end)
                                                                                                 throws MeasurementException
Get metric display summaries for the resources and measurements that are passed

Parameters:
subject - subject of the caller
resourceIds - Array of resource Ids that were selected to compare
measurementDefinitionIds - Array of measurment Ids
begin - begin time for the display time range
end - end time for the displays time range
Returns:
Map> Map holds the Metric in the key, then the resources values in a List for the value.
Throws:
MeasurementException - throws Measurement exception


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.