org.apache.activemq.tool.sampler
Class CpuSamplerTask
java.lang.Object
org.apache.activemq.tool.properties.AbstractObjectProperties
org.apache.activemq.tool.sampler.AbstractPerformanceSampler
org.apache.activemq.tool.sampler.CpuSamplerTask
- All Implemented Interfaces:
- Runnable, ReflectionConfigurable, PerformanceSampler
public class CpuSamplerTask
- extends AbstractPerformanceSampler
Methods inherited from class org.apache.activemq.tool.sampler.AbstractPerformanceSampler |
getDuration, getInterval, getPerfEventListener, getPerfReportWriter, getRampDownTime, getRampUpTime, isRunning, onSamplerEnd, onSamplerStart, run, sample, setDuration, setInterval, setPerfEventListener, setPerfReportWriter, setRampDownTime, setRampUpTime, startSampler, waitUntilDone |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CpuSamplerTask
public CpuSamplerTask()
createPlugin
public void createPlugin()
throws IOException
- Throws:
IOException
createPlugin
public void createPlugin(String osName)
throws IOException
- Throws:
IOException
sampleData
public void sampleData()
- Specified by:
sampleData
in interface PerformanceSampler
- Specified by:
sampleData
in class AbstractPerformanceSampler
onRampUpStart
protected void onRampUpStart()
- Overrides:
onRampUpStart
in class AbstractPerformanceSampler
onRampDownEnd
protected void onRampDownEnd()
- Overrides:
onRampDownEnd
in class AbstractPerformanceSampler
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.