1 17 package org.apache.activemq.tool.sampler; 18 19 import org.apache.activemq.tool.reports.PerformanceReportWriter; 20 21 public interface PerformanceSampler extends Runnable { 22 public long getRampUpTime(); 23 public void setRampUpTime(long rampUpTime); 24 public long getRampDownTime(); 25 public void setRampDownTime(long rampDownTime); 26 public long getDuration(); 27 public void setDuration(long duration); 28 public long getInterval(); 29 public void setInterval(long interval); 30 public PerformanceReportWriter getPerfReportWriter(); 31 public void setPerfReportWriter(PerformanceReportWriter writer); 32 public PerformanceEventListener getPerfEventListener(); 33 public void setPerfEventListener(PerformanceEventListener listener); 34 35 public void sampleData(); 36 public boolean isRunning(); 37 public void waitUntilDone(); 38 } 39 | Popular Tags |