pt.digitalis.sampleApp.iss
Class ISSPerformanceTester
java.lang.Object
pt.digitalis.sampleApp.iss.ISSPerformanceTester
public class ISSPerformanceTester
- extends Object
- Author:
- Pedro Viegas pviegas@digitalis.pt
Method Summary |
static Series |
ExecuteProcesses(boolean incrementLoad,
pt.digitalis.sampleApp.iss.ISSPerformanceTester.TestType testType,
Class<?> processClazz)
Executes all processes |
static void |
main(String[] args)
Performs the performance tests |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ISSPerformanceTester
public ISSPerformanceTester()
ExecuteProcesses
public static Series ExecuteProcesses(boolean incrementLoad,
pt.digitalis.sampleApp.iss.ISSPerformanceTester.TestType testType,
Class<?> processClazz)
throws InstantiationException,
IllegalAccessException
- Executes all processes
- Parameters:
incrementLoad
- true increments load on each new executiontestType
- the type of test to runprocessClazz
- the class to instantiate
- Returns:
- the execution times in a Series object
- Throws:
IllegalAccessException
- when the processClazz is not a BaseWriterProcess class
InstantiationException
- when the processClazz is not a BaseWriterProcess class
main
public static void main(String[] args)
throws InstantiationException,
IllegalAccessException
- Performs the performance tests
- Parameters:
args
- pass ["quick"] for a quick run
- Throws:
InstantiationException
IllegalAccessException
Copyright © 2009 Digitalis Informática Lda. All Rights Reserved.