Package org.apache.activemq.tool.sampler
Interface PerformanceSampler
-
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
AbstractPerformanceSampler
,CpuSamplerTask
,ThroughputSamplerTask
public interface PerformanceSampler extends Runnable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
finishSampling()
Long
getDuration()
long
getInterval()
org.apache.activemq.tool.sampler.PerformanceEventListener
getPerfEventListener()
PerformanceReportWriter
getPerfReportWriter()
long
getRampDownPercent()
Long
getRampDownTime()
long
getRampUpPercent()
Long
getRampUpTime()
void
sampleData()
void
setDuration(long duration)
void
setInterval(long interval)
void
setPerfEventListener(org.apache.activemq.tool.sampler.PerformanceEventListener listener)
void
setPerfReportWriter(PerformanceReportWriter writer)
void
setRampDownPercent(long rampDownPercent)
void
setRampDownTime(long rampDownTime)
void
setRampUpPercent(long rampUpPercent)
void
setRampUpTime(long rampUpTime)
void
startSampler(CountDownLatch completionLatch, ClientRunBasis clientRunBasis, long clientRunDuration)
-
-
-
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)
-
getRampUpPercent
long getRampUpPercent()
-
setRampUpPercent
void setRampUpPercent(long rampUpPercent)
-
getRampDownPercent
long getRampDownPercent()
-
setRampDownPercent
void setRampDownPercent(long rampDownPercent)
-
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)
-
finishSampling
void finishSampling()
-
sampleData
void sampleData()
-
startSampler
void startSampler(CountDownLatch completionLatch, ClientRunBasis clientRunBasis, long clientRunDuration)
-
-