com.sun.faban.harness.engine
Class GenericBenchmark

java.lang.Object
  extended by com.sun.faban.harness.engine.GenericBenchmark

public class GenericBenchmark
extends Object

GenericBenchmark.java The Generic Benchmark object is created by the RunDaemon to execute a run. It starts up the various Services (CmdService, Servers and ToolService), reads the run's Parameters and processes the generic parameters. It then performs generic system logging of /etc/system, prtdiag psrinfo, etc. Finally, it creates the actual benchmark object and requests it to execute the run. When the run completes, it captures more info for system reports and exits.

Author:
Ramesh Ramachandran

Constructor Summary
GenericBenchmark(Run r)
          Constructor.
 
Method Summary
 void kill()
          Method : kill This method is called externally to abort or terminate the current run.
 void start()
          Responsible for configuring, starting and stopping services and tools.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericBenchmark

public GenericBenchmark(Run r)
Constructor.

Parameters:
r - run
Method Detail

start

public void start()
Responsible for configuring, starting and stopping services and tools. Creates the actual benchmark object and requests it to execute the run.


kill

public void kill()
Method : kill This method is called externally to abort or terminate the current run.