Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.ui.servlet
Class UsageHealthChartServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.hyperic.hq.ui.servlet.ParameterizedServlet
              extended by org.hyperic.hq.ui.servlet.ImageServlet
                  extended by org.hyperic.hq.ui.servlet.ChartServlet
                      extended by org.hyperic.hq.ui.servlet.VerticalChartServlet
                          extended by org.hyperic.hq.ui.servlet.CurrentHealthChartServlet
                              extended by org.hyperic.hq.ui.servlet.UsageHealthChartServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
UtilizationHealthChartServlet

public class UsageHealthChartServlet
extends CurrentHealthChartServlet

Usage current health chart servlet.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.hyperic.hq.ui.servlet.CurrentHealthChartServlet
IMAGE_HEIGHT_DEFAULT, IMAGE_WIDTH_DEFAULT, INTERVAL
 
Fields inherited from class org.hyperic.hq.ui.servlet.VerticalChartServlet
COLLECTION_TYPE_PARAM
 
Fields inherited from class org.hyperic.hq.ui.servlet.ChartServlet
BASELINE_PARAM, HIGHRANGE_PARAM, LOWRANGE_PARAM, SHOW_AVERAGE_PARAM, SHOW_BASELINE_PARAM, SHOW_HIGHRANGE_PARAM, SHOW_LOW_PARAM, SHOW_LOWRANGE_PARAM, SHOW_PEAK_PARAM, SHOW_VALUES_PARAM, UNIT_SCALE_PARAM, UNIT_UNITS_PARAM
 
Fields inherited from class org.hyperic.hq.ui.servlet.ImageServlet
IMAGE_FORMAT_JPEG, IMAGE_FORMAT_PARAM, IMAGE_FORMAT_PNG, IMAGE_HEIGHT_PARAM, IMAGE_WIDTH_PARAM
 
Constructor Summary
UsageHealthChartServlet()
           
 
Method Summary
protected  Chart createChart(javax.servlet.http.HttpServletRequest request, ChartDataBean dataBean)
          Create and return the chart.
protected  java.lang.String getMetricCategory()
          Return the corresponding measurement category.
 
Methods inherited from class org.hyperic.hq.ui.servlet.CurrentHealthChartServlet
getDefaultImageHeight, getDefaultImageWidth, initializeChart, plotData
 
Methods inherited from class org.hyperic.hq.ui.servlet.VerticalChartServlet
getDefaultCollectionType, getTrendForCollectionType, parseParameters
 
Methods inherited from class org.hyperic.hq.ui.servlet.ChartServlet
createImage, getDefaultShowAverage, getDefaultShowBaseline, getDefaultShowHighRange, getDefaultShowLow, getDefaultShowLowRange, getDefaultShowPeak, getDefaultShowValues, getDefaultUnitScale, getDefaultUnitUnits, getShowAvg, getShowLow, getShowPeak, renderJpegImage, renderPngImage
 
Methods inherited from class org.hyperic.hq.ui.servlet.ImageServlet
doGet, getDefaultImageFormat, getImageHeight, getImageWidth, init
 
Methods inherited from class org.hyperic.hq.ui.servlet.ParameterizedServlet
invalidParamErr, invalidParamErr, invalidParamWarn, invalidParamWarn, invalidParamWarn, invalidParamWarn, invalidParamWarn, parseBooleanParameter, parseDoubleParameter, parseIntParameter, parseLongParameter, parseRequiredBooleanParameter, parseRequiredDoubleParameter, parseRequiredIntParameter, parseRequiredLongParameter, parseRequiredStringParameter, parseRequiredStringParameter, parseStringParameter, parseStringParameter, requiredParamErr
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsageHealthChartServlet

public UsageHealthChartServlet()
Method Detail

createChart

protected Chart createChart(javax.servlet.http.HttpServletRequest request,
                            ChartDataBean dataBean)
Create and return the chart. This method will be called after the parameters have been parsed.

Specified by:
createChart in class ChartServlet
Parameters:
request - TODO
dataBean - TODO
Returns:
the newly created chart

getMetricCategory

protected java.lang.String getMetricCategory()
Return the corresponding measurement category.

Specified by:
getMetricCategory in class CurrentHealthChartServlet
Returns:
org.hyperic.hq.measurement.MeasurementConstants.CAT_THROUGHPUT or

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.