|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.faban.driver.engine.RunInfo
public class RunInfo
RunInfo This class contains the run parameters used for the run. They directly reflect the run configuration. sdo 10/17/08: Add support for https into driver template
Nested Class Summary | |
---|---|
static class |
RunInfo.AgentInfo
Information passed to individual agents. |
static class |
RunInfo.DriverConfig
The RunInfo.DriverConfig for a specific driver. |
Field Summary | |
---|---|
RunInfo.AgentInfo |
agentInfo
The current agent information. |
boolean |
audit
Whether audit is on or not. |
int |
benchStartTime
The benchmark start time, relative to the timer. |
byte[] |
defBytes
fhb bytes defining a class. |
RunInfo.DriverConfig |
driverConfig
The current driver config object. |
static String |
DRIVERURI
Namespace URI for the Faban driver. |
static String |
FABANURI
Namespace URI for Faban in general. |
int |
graphInterval
The time interval for graphing. |
Handler |
logHandler
The log handler. |
int |
maxRunTime
The maximum run time, used only for cycle runs. |
int |
msBetweenThreadStart
Milliseconds between thread start. |
boolean |
parallelAgentThreadStart
Whether agents start in parallel. |
int |
rampDown
Ramp Down, in seconds. |
int |
rampUp
Ramp Up, in seconds. |
String |
resultsDir
The results directory. |
String |
runId
The run ID. |
boolean |
runtimeStatsEnabled
Whether the runtime stats are enabled. |
int |
runtimeStatsInterval
Interval for runtime stats. |
int |
scale
Scale of the run. |
boolean |
simultaneousStart
Whether all threads start simultaneously. |
long |
start
The actual millisec start time. |
int |
stdyState
Steady State, in seconds. |
boolean |
variableLoad
Use varable load or not. |
String |
variableLoadFile
Variable load input file. |
VariableLoadHandler |
variableLoadHandler
The load adjuster for variable load. |
Method Summary | |
---|---|
static String |
getDefiningClassName()
Obtains the defining class name from the configuration file. |
static RunInfo |
getInstance()
Obtains the singleton RunInfo instance for this JVM. |
void |
postDeserialize()
The method postDeserialize re-establishes the non-serializable fields. |
static RunInfo |
read(BenchmarkDefinition benchDef)
Reads all the configuration parameters from the file and combines it with the benchmark definition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String FABANURI
public static final String DRIVERURI
public String resultsDir
public int scale
public boolean audit
public String runId
public int rampUp
public int rampDown
public int stdyState
public boolean variableLoad
public String variableLoadFile
public VariableLoadHandler variableLoadHandler
public boolean simultaneousStart
public boolean parallelAgentThreadStart
public int msBetweenThreadStart
public int benchStartTime
public long start
public int maxRunTime
public int graphInterval
public boolean runtimeStatsEnabled
public int runtimeStatsInterval
public RunInfo.DriverConfig driverConfig
public RunInfo.AgentInfo agentInfo
public byte[] defBytes
public transient Handler logHandler
Method Detail |
---|
public static String getDefiningClassName() throws Exception
Exception
- An error occurred reading the configurationpublic static RunInfo read(BenchmarkDefinition benchDef) throws Exception
benchDef
- The benchmark definition
Exception
- If there is an error reading the configuration,
or it mesmatches the definitionpublic static RunInfo getInstance()
public void postDeserialize() throws ClassNotFoundException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |