pt.digitalis.sampleApp.iss
Class ISSPerformanceTester

java.lang.Object
  extended by pt.digitalis.sampleApp.iss.ISSPerformanceTester

public class ISSPerformanceTester
extends Object

Author:
Pedro Viegas pviegas@digitalis.pt

Constructor Summary
ISSPerformanceTester()
           
 
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
 

Constructor Detail

ISSPerformanceTester

public ISSPerformanceTester()
Method Detail

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 execution
testType - the type of test to run
processClazz - 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.