org.rhq.plugins.perftest.measurement
Class SimpleNumericMeasurementFactory

java.lang.Object
  extended by org.rhq.plugins.perftest.measurement.SimpleNumericMeasurementFactory
All Implemented Interfaces:
MeasurementFactory

public class SimpleNumericMeasurementFactory
extends Object
implements MeasurementFactory

The simplest algorithm for generating measurement values

Author:
Jason Dobies

Constructor Summary
SimpleNumericMeasurementFactory()
           
 
Method Summary
 MeasurementData nextValue(MeasurementScheduleRequest request)
          Returns a measurement data value for the specified measurement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleNumericMeasurementFactory

public SimpleNumericMeasurementFactory()
Method Detail

nextValue

public MeasurementData nextValue(MeasurementScheduleRequest request)
Description copied from interface: MeasurementFactory
Returns a measurement data value for the specified measurement. The actual generation of the next value is dependent on the implementation of this interface.

Specified by:
nextValue in interface MeasurementFactory
Parameters:
request - describes which measurement is being calculated
Returns:
next measurement data point


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.