org.apache.activemq.tool.sampler
Class CpuSamplerTask

java.lang.Object
  extended by org.apache.activemq.tool.properties.AbstractObjectProperties
      extended by org.apache.activemq.tool.sampler.AbstractPerformanceSampler
          extended by org.apache.activemq.tool.sampler.CpuSamplerTask
All Implemented Interfaces:
Runnable, ReflectionConfigurable, PerformanceSampler

public class CpuSamplerTask
extends AbstractPerformanceSampler


Field Summary
 
Fields inherited from class org.apache.activemq.tool.sampler.AbstractPerformanceSampler
duration, interval, isRunning, perfEventListener, perfReportWriter, rampDownTime, rampUpTime, sampleIndex
 
Constructor Summary
CpuSamplerTask()
           
 
Method Summary
 void createPlugin()
           
 void createPlugin(String osName)
           
protected  void onRampDownEnd()
           
protected  void onRampUpStart()
           
 void sampleData()
           
 
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 org.apache.activemq.tool.properties.AbstractObjectProperties
acceptConfig, configureProperties, retrieveProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CpuSamplerTask

public CpuSamplerTask()
Method Detail

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–2013 The Apache Software Foundation. All rights reserved.