public class DefaultFabanBenchmark2 extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,List<String>> |
agentEnv
Environment to pass to agents when starting.
|
protected String[] |
agentHosts
The agent hosts.
|
protected List<String> |
agents
The agent list.
|
protected Map<String,List<String>> |
hostAgents
The map from host to agents.
|
protected CommandHandle |
masterHandle
Command handle to the master.
|
protected ParamRepository |
params
The param repository.
|
Constructor and Description |
---|
DefaultFabanBenchmark2() |
Modifier and Type | Method and Description |
---|---|
void |
end()
This method is responsible for waiting for all commands started and
run all postprocessing needed.
|
void |
start()
This method is responsible for starting the benchmark run.
|
void |
validate()
Allows benchmark to validate the configuration file.
|
protected ParamRepository params
protected String[] agentHosts
protected CommandHandle masterHandle
public void validate() throws Exception
Exception
- if any error occurred.RunContext.exec(com.sun.faban.common.Command)
public void start() throws Exception
Exception
- if any error occurred.