Package org.apache.activemq.tool.sampler
Class ThroughputSamplerTask
- java.lang.Object
-
- org.apache.activemq.tool.properties.AbstractObjectProperties
-
- org.apache.activemq.tool.sampler.AbstractPerformanceSampler
-
- org.apache.activemq.tool.sampler.ThroughputSamplerTask
-
- All Implemented Interfaces:
Runnable,ReflectionConfigurable,PerformanceSampler
public class ThroughputSamplerTask extends AbstractPerformanceSampler
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.tool.sampler.AbstractPerformanceSampler
completionLatch, duration, interval, isRunning, perfEventListener, perfReportWriter, rampDownPercent, rampDownTime, rampUpPercent, rampUpTime, sampleIndex
-
-
Constructor Summary
Constructors Constructor Description ThroughputSamplerTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidonSamplerStart()voidregisterClient(MeasurableClient client)voidsampleData()-
Methods inherited from class org.apache.activemq.tool.sampler.AbstractPerformanceSampler
finishSampling, getDuration, getInterval, getPerfEventListener, getPerfReportWriter, getRampDownPercent, getRampDownTime, getRampUpPercent, getRampUpTime, onRampDownEnd, onRampUpStart, onSamplerEnd, run, sample, setDuration, setInterval, setPerfEventListener, setPerfReportWriter, setRampDownPercent, setRampDownTime, setRampUpPercent, setRampUpTime, startSampler
-
Methods inherited from class org.apache.activemq.tool.properties.AbstractObjectProperties
acceptConfig, configureProperties, retrieveProperties
-
-
-
-
Method Detail
-
registerClient
public void registerClient(MeasurableClient client)
-
sampleData
public void sampleData()
- Specified by:
sampleDatain interfacePerformanceSampler- Specified by:
sampleDatain classAbstractPerformanceSampler
-
onSamplerStart
protected void onSamplerStart()
- Overrides:
onSamplerStartin classAbstractPerformanceSampler
-
-