|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.faban.harness.DefaultFabanBenchmark2
public class DefaultFabanBenchmark2
The default benchmark class(based on annotations) 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 DefaultFabanBenchmark2 if the actual driver is not implemented using the Faban Driver Framework.
Field Summary | |
---|---|
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 Summary | |
---|---|
DefaultFabanBenchmark2()
|
Method Summary | |
---|---|
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. |
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 DefaultFabanBenchmark2()
Method Detail |
---|
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.public void end() throws Exception
Exception
- if any error occurred.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |