org.whatsitcalled.webflange.service
Class LoadTestServiceImpl

java.lang.Object
  extended by org.whatsitcalled.webflange.service.LoadTestServiceImpl
All Implemented Interfaces:
LoadTestService

public class LoadTestServiceImpl
extends java.lang.Object
implements LoadTestService


Constructor Summary
LoadTestServiceImpl()
           
 
Method Summary
 LoadTest createLoadTest()
           
 LoadTest findLoadTestByName(java.lang.String name)
           
 java.io.File getDataFile(LoadTestRun run)
           
 java.io.File getErrorFile(LoadTestRun run)
           
 FileManager getFileManager()
           
 java.lang.String getGrinderHostId(LoadTest test, long time)
           
 LoadTest getLoadTest(java.lang.Long id)
           
 LoadTestDAO getLoadTestDAO()
           
 LoadTestRunDAO getRunDAO()
           
 java.io.File getSummaryFile(LoadTestRun run)
           
 void removeLoadTest(java.lang.Long id)
           
 void removeSelectedRuns(java.lang.Long loadTestId, java.util.List<LoadTestRun> runs)
           
 java.lang.Long saveLoadTest(LoadTest loadTest)
           
 void setFileManager(FileManager fileManager)
           
 void setLoadTestDAO(LoadTestDAO loadTestDAO)
           
 void setRunDAO(LoadTestRunDAO runDAO)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadTestServiceImpl

public LoadTestServiceImpl()
Method Detail

getRunDAO

public LoadTestRunDAO getRunDAO()

setRunDAO

public void setRunDAO(LoadTestRunDAO runDAO)

findLoadTestByName

public LoadTest findLoadTestByName(java.lang.String name)
Specified by:
findLoadTestByName in interface LoadTestService

saveLoadTest

public java.lang.Long saveLoadTest(LoadTest loadTest)
Specified by:
saveLoadTest in interface LoadTestService

getLoadTest

public LoadTest getLoadTest(java.lang.Long id)
Specified by:
getLoadTest in interface LoadTestService

getLoadTestDAO

public LoadTestDAO getLoadTestDAO()

setLoadTestDAO

public void setLoadTestDAO(LoadTestDAO loadTestDAO)

removeSelectedRuns

public void removeSelectedRuns(java.lang.Long loadTestId,
                               java.util.List<LoadTestRun> runs)
                        throws LoadTestRunningException
Specified by:
removeSelectedRuns in interface LoadTestService
Throws:
LoadTestRunningException

createLoadTest

public LoadTest createLoadTest()
Specified by:
createLoadTest in interface LoadTestService

removeLoadTest

public void removeLoadTest(java.lang.Long id)
                    throws LoadTestRunningException
Specified by:
removeLoadTest in interface LoadTestService
Throws:
LoadTestRunningException

getGrinderHostId

public java.lang.String getGrinderHostId(LoadTest test,
                                         long time)
Specified by:
getGrinderHostId in interface LoadTestService

getSummaryFile

public java.io.File getSummaryFile(LoadTestRun run)
Specified by:
getSummaryFile in interface LoadTestService

getDataFile

public java.io.File getDataFile(LoadTestRun run)
Specified by:
getDataFile in interface LoadTestService

getErrorFile

public java.io.File getErrorFile(LoadTestRun run)
Specified by:
getErrorFile in interface LoadTestService

getFileManager

public FileManager getFileManager()

setFileManager

public void setFileManager(FileManager fileManager)


Copyright © 2008 Innobuilt Software LLC. All Rights Reserved.