org.rhq.enterprise.server.measurement
Interface MeasurementChartsManagerLocal

All Known Implementing Classes:
MeasurementChartsManagerBean

public interface MeasurementChartsManagerLocal

Author:
Joseph Marques

Method Summary
 java.util.List<MetricDisplaySummary> getMetricDisplaySummariesForAutoGroup(Subject subject, int autoGroupParentResourceId, int autoGroupChildResourceTypeId, int[] measurementDefinitionIds, long begin, long end, boolean enabledOnly)
          Get metric display summaries for an autogroup.
 java.util.List<MetricDisplaySummary> getMetricDisplaySummariesForAutoGroup(Subject subject, int parent, int type, java.lang.String viewName)
           
 java.util.List<MetricDisplaySummary> getMetricDisplaySummariesForCompatibleGroup(Subject subject, int groupId, int[] measurementDefinitionIds, long begin, long end, boolean enabledOnly)
          Get metric display summaries for a compatible group
 java.util.List<MetricDisplaySummary> getMetricDisplaySummariesForCompatibleGroup(Subject subject, int groupId, java.lang.String viewName)
           
 java.util.List<MetricDisplaySummary> getMetricDisplaySummariesForMetrics(Subject subject, int resourceId, DataType dataType, long begin, long end, boolean narrowed, boolean enabledOnly)
          Deprecated. 
 java.util.Map<MeasurementDefinition,java.util.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
 java.util.List<MetricDisplaySummary> getMetricDisplaySummariesForResource(Subject subject, int resourceId, int[] measurementScheduleIds, long begin, long end)
           
 java.util.List<MetricDisplaySummary> getMetricDisplaySummariesForResource(Subject subject, int resourceId, java.lang.String viewName)
           
 

Method Detail

getMetricDisplaySummariesForMetrics

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

Throws:
MeasurementException

getMetricDisplaySummariesForCompatibleGroup

java.util.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

java.util.List<MetricDisplaySummary> getMetricDisplaySummariesForCompatibleGroup(Subject subject,
                                                                                 int groupId,
                                                                                 java.lang.String viewName)

getMetricDisplaySummariesForAutoGroup

java.util.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

java.util.List<MetricDisplaySummary> getMetricDisplaySummariesForAutoGroup(Subject subject,
                                                                           int parent,
                                                                           int type,
                                                                           java.lang.String viewName)

getMetricDisplaySummariesForResource

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

getMetricDisplaySummariesForResource

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

getMetricDisplaySummariesForMetricsCompare

java.util.Map<MeasurementDefinition,java.util.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-2009 Red Hat, Inc.. All Rights Reserved.