org.apache.activemq.tool.sampler
Interface PerformanceSampler

All Superinterfaces:
Runnable
All Known Implementing Classes:
AbstractPerformanceSampler, CpuSamplerTask, ThroughputSamplerTask

public interface PerformanceSampler
extends Runnable


Method Summary
 long getDuration()
           
 long getInterval()
           
 org.apache.activemq.tool.sampler.PerformanceEventListener getPerfEventListener()
           
 PerformanceReportWriter getPerfReportWriter()
           
 long getRampDownTime()
           
 long getRampUpTime()
           
 boolean isRunning()
           
 void sampleData()
           
 void setDuration(long duration)
           
 void setInterval(long interval)
           
 void setPerfEventListener(org.apache.activemq.tool.sampler.PerformanceEventListener listener)
           
 void setPerfReportWriter(PerformanceReportWriter writer)
           
 void setRampDownTime(long rampDownTime)
           
 void setRampUpTime(long rampUpTime)
           
 void waitUntilDone()
           
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

getRampUpTime

long getRampUpTime()

setRampUpTime

void setRampUpTime(long rampUpTime)

getRampDownTime

long getRampDownTime()

setRampDownTime

void setRampDownTime(long rampDownTime)

getDuration

long getDuration()

setDuration

void setDuration(long duration)

getInterval

long getInterval()

setInterval

void setInterval(long interval)

getPerfReportWriter

PerformanceReportWriter getPerfReportWriter()

setPerfReportWriter

void setPerfReportWriter(PerformanceReportWriter writer)

getPerfEventListener

org.apache.activemq.tool.sampler.PerformanceEventListener getPerfEventListener()

setPerfEventListener

void setPerfEventListener(org.apache.activemq.tool.sampler.PerformanceEventListener listener)

sampleData

void sampleData()

isRunning

boolean isRunning()

waitUntilDone

void waitUntilDone()


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.