|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.Action
org.apache.struts.tiles.actions.TilesAction
org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricsControlFormPrepareAction
org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricsDisplayFormPrepareAction
org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.ResourceMetricsFormPrepareAction
public class ResourceMetricsFormPrepareAction
An Action that retrieves data from the backend to facilitate display of the Resource Metrics
pages.
| Field Summary | |
|---|---|
protected static org.apache.commons.logging.Log |
log
|
| Fields inherited from class org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricsDisplayFormPrepareAction |
|---|
groupId |
| Fields inherited from class org.apache.struts.action.Action |
|---|
defaultLocale, servlet |
| Constructor Summary | |
|---|---|
ResourceMetricsFormPrepareAction()
|
|
| Method Summary | |
|---|---|
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). |
| Methods inherited from class org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricsDisplayFormPrepareAction |
|---|
execute, execute, getShowMetricSource, getShowNumberCollecting |
| Methods inherited from class org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricsControlFormPrepareAction |
|---|
prepareForm |
| Methods inherited from class org.apache.struts.tiles.actions.TilesAction |
|---|
execute |
| Methods inherited from class org.apache.struts.action.Action |
|---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public ResourceMetricsFormPrepareAction()
| Method Detail |
|---|
protected Boolean getShowBaseline()
getShowBaseline in class MetricsDisplayFormPrepareAction
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)
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
summarized
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||