|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.faban.harness.DefaultFabanBenchmark
@Deprecated public class DefaultFabanBenchmark
The default benchmark class for use with benchmarks implemented with the Faban Driver Framework. This class is designed to be extended if additional features are desired. Do not use the DefaultFabanBenchmark if the actual driver is not implemented using the Faban Driver Framework. Implement the Benchmark interface directly in such cases.
Field Summary | |
---|---|
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 Summary | |
---|---|
DefaultFabanBenchmark()
Deprecated. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ParamRepository params
protected List<String> agents
protected String[] agentHosts
protected Map<String,List<String>> hostAgents
protected Map<String,List<String>> agentEnv
protected CommandHandle masterHandle
Constructor Detail |
---|
public DefaultFabanBenchmark()
Method Detail |
---|
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
configure
in interface Benchmark
Exception
- if any error occurred.public void start() throws Exception
start
in interface Benchmark
Exception
- if any error occurred.public void end() throws Exception
end
in interface Benchmark
Exception
- if any error occurred.public void kill() throws Exception
kill
in interface Benchmark
Exception
- if any error occurred.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |