com.retek.rcom.tool.perftest
Class PerformanceConstraints

java.lang.Object
  extended bycom.retek.rcom.tool.perftest.PerformanceConstraints

public class PerformanceConstraints
extends java.lang.Object


Method Summary
 float getDefaultVarianceThreshold()
          The default maximum fraction by which a test's time may increase from day to day.
static PerformanceConstraints getInstance(java.io.File configFile)
           
 long getMaxTestTime(java.lang.String testName)
          The maximum time which the given test is allowed to take.
 long getMinVarianceTime(java.lang.String testName)
          The minimum time for which we do a variance check on the test.
 java.lang.String getTestClassName()
           
 float getVarianceThreshold(java.lang.String testName)
          The maximum fraction by which a test's time may increase from day to day.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static PerformanceConstraints getInstance(java.io.File configFile)
                                          throws java.io.IOException
Throws:
java.io.IOException

getTestClassName

public java.lang.String getTestClassName()

getDefaultVarianceThreshold

public float getDefaultVarianceThreshold()
The default maximum fraction by which a test's time may increase from day to day. A threshold of zero will flag any increase at all.


getVarianceThreshold

public float getVarianceThreshold(java.lang.String testName)
The maximum fraction by which a test's time may increase from day to day. A threshold of zero will flag any increase at all.


getMinVarianceTime

public long getMinVarianceTime(java.lang.String testName)
The minimum time for which we do a variance check on the test.


getMaxTestTime

public long getMaxTestTime(java.lang.String testName)
The maximum time which the given test is allowed to take. Returns -1 if there is no threshold.



Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28