org.rhq.enterprise.server.test
Class MeasurementTestBean
java.lang.Object
org.rhq.enterprise.server.test.MeasurementTestBean
- All Implemented Interfaces:
- MeasurementTestLocal
public class MeasurementTestBean
- extends Object
- implements MeasurementTestLocal
An EJB for testing the measurement subsystem - used by TestControl.jsp.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MeasurementTestBean
public MeasurementTestBean()
init
@PostConstruct
public void init()
sendTestMeasurementReport
public void sendTestMeasurementReport()
- Send a test measurement report, full of lots of fake metrics, to the server.
- Specified by:
sendTestMeasurementReport in interface MeasurementTestLocal
addProblemResource
public void addProblemResource()
- Specified by:
addProblemResource in interface MeasurementTestLocal
setAgentCurrentlyScheduledMetrics
public void setAgentCurrentlyScheduledMetrics(double value)
- Specified by:
setAgentCurrentlyScheduledMetrics in interface MeasurementTestLocal
snapshotMeasurementTables
public Map<String,Long> snapshotMeasurementTables()
- Specified by:
snapshotMeasurementTables in interface MeasurementTestLocal
main
public static void main(String[] args)
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.