@Deprecated public class DefaultFabanBenchmark extends Object implements Benchmark
Modifier and Type | Field and Description |
---|---|
protected Map<String,List<String>> |
agentEnv
Deprecated.
Environment to pass to agents when starting.
|
protected String[] |
agentHosts
Deprecated.
The agent hosts.
|
protected List<String> |
agents
Deprecated.
The agent list.
|
protected Map<String,List<String>> |
hostAgents
Deprecated.
The map from host to agents.
|
protected CommandHandle |
masterHandle
Deprecated.
Command handle to the master.
|
protected ParamRepository |
params
Deprecated.
The param repository.
|
Constructor and Description |
---|
DefaultFabanBenchmark()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
configure()
Deprecated.
This method is called to configure the specific benchmark run
Tasks done in this method include reading user parameters,
logging them and initializing various local variables.
|
void |
end()
Deprecated.
This method is responsible for waiting for all commands started and
run all postprocessing needed.
|
void |
kill()
Deprecated.
This method aborts the current benchmark run and is
called when a user asks for a run to be killed.
|
void |
start()
Deprecated.
This method is responsible for starting the benchmark run.
|
void |
validate()
Deprecated.
Allows benchmark to validate the configuration file.
|
protected ParamRepository params
protected String[] agentHosts
protected Map<String,List<String>> agentEnv
protected CommandHandle masterHandle
public void validate() throws Exception
validate
in interface Benchmark
Exception
- if any error occurred.RunContext.exec(com.sun.faban.common.Command)
public void configure() throws Exception
public void start() throws Exception
public void end() throws Exception