public class ResourceMetricsFormPrepareAction extends MetricsDisplayFormPrepareAction
Action that retrieves data from the backend to facilitate display of the Resource Metrics
pages.
This is used for the "Metric Data" sub sub tab on the monioring pages.| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
groupId| Constructor and Description |
|---|
ResourceMetricsFormPrepareAction() |
| Modifier and Type | Method and Description |
|---|---|
protected List<org.rhq.core.domain.measurement.ui.MetricDisplaySummary> |
getMetrics(javax.servlet.http.HttpServletRequest request,
int[] resourceIds,
long filters,
String keyword,
Long begin,
Long end)
Get from the Bizapp the set of metric summaries for the specified entity that will be displayed on the page.
|
protected Boolean |
getShowBaseline()
Do we show the baseline column on this page? The answer is no (for now).
|
execute, execute, getShowMetricSource, getShowNumberCollectingprepareFormaddErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletprotected Boolean getShowBaseline()
getShowBaseline in class MetricsDisplayFormPrepareActionprotected List<org.rhq.core.domain.measurement.ui.MetricDisplaySummary> getMetrics(javax.servlet.http.HttpServletRequest request, int[] resourceIds, long filters, String keyword, Long begin, Long end) throws Exception
Map keyed by metric category.getMetrics in class MetricsDisplayFormPrepareActionrequest - the http requestresourceIds - the entity id of the currently viewed resourcebegin - the time (in milliseconds since the epoch) that begins the timeframe for which the metrics
are summarizedend - the time (in milliseconds since the epoch) that ends the timeframe for which the metrics are
summarizedExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.