View Javadoc

1   package org.whatsitcalled.webflange.service;
2   
3   import java.io.File;
4   import java.util.List;
5   
6   import org.whatsitcalled.webflange.model.LoadTest;
7   import org.whatsitcalled.webflange.model.LoadTestRun;
8   
9   public interface LoadTestService {
10  	public LoadTest findLoadTestByName(String name);
11  	public Long saveLoadTest(LoadTest loadTest);
12  	public LoadTest getLoadTest(Long id);
13  	public void removeSelectedRuns(Long loadTestId, List<LoadTestRun> runs) throws LoadTestRunningException;
14  	public LoadTest createLoadTest();
15  	public void removeLoadTest(Long id) throws LoadTestRunningException;
16  	public File getSummaryFile(LoadTestRun run);
17  	public File getDataFile(LoadTestRun run);
18  	public File getErrorFile(LoadTestRun run);
19  	public String getGrinderHostId(LoadTest loadTest, long time);
20  }