com.sun.faban.harness.tools
Class Wlp2

java.lang.Object
  extended by com.sun.faban.harness.tools.OracleTool
      extended by com.sun.faban.harness.tools.Statspack
          extended by com.sun.faban.harness.tools.Wlp2
All Implemented Interfaces:
Tool

Deprecated.

@Deprecated
public class Wlp2
extends Statspack

Wlp2 is an Oracle/TPC-E specific tool. So this class does not really belong here. Once we can deploy tools as part of the benchmark, we need to move this class to the appropriate place.

Author:
Akara Sucharitakul

Constructor Summary
Wlp2()
          Deprecated.  
 
Method Summary
 void configure(String tool, List<String> argList, String path, String outDir, String host, String masterhost, CmdAgentImpl cmdAgent, CountDownLatch latch)
          Deprecated. This is the method that should get the arguments to call the tool with.
protected  String getReportCommand(String snapId, String snapId1, String outputFile)
          Deprecated. Creates a sqlplus command to create awr reports.
protected  void xferLog()
          Deprecated. Transfers the log files to the output file in the results directory.
 
Methods inherited from class com.sun.faban.harness.tools.Statspack
getSnapCommand
 
Methods inherited from class com.sun.faban.harness.tools.OracleTool
finish, getLogFile, getOutputFile, kill, parseSnapId, start, start, start, stop, stop, xferFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Wlp2

public Wlp2()
Deprecated. 
Method Detail

configure

public void configure(String tool,
                      List<String> argList,
                      String path,
                      String outDir,
                      String host,
                      String masterhost,
                      CmdAgentImpl cmdAgent,
                      CountDownLatch latch)
Deprecated. 
This is the method that should get the arguments to call the tool with.

Specified by:
configure in interface Tool
Overrides:
configure in class OracleTool
Parameters:
tool - name of the tool (Executable)
argList - list containing arguments to tool
path - The path for the tool
outDir - The output directory
host - name of machine the tool is running on
masterhost - name of master machine
cmdAgent - agent The command agent used for executing tools
latch - The latch the tool uses to identify it's completion.

getReportCommand

protected String getReportCommand(String snapId,
                                  String snapId1,
                                  String outputFile)
Deprecated. 
Creates a sqlplus command to create awr reports.

Overrides:
getReportCommand in class Statspack
Parameters:
snapId - The id of the first snap
snapId1 - The id of the second snap
outputFile - The output file
Returns:
The sqlplus command string

xferLog

protected void xferLog()
Deprecated. 
Description copied from class: OracleTool
Transfers the log files to the output file in the results directory.

Overrides:
xferLog in class OracleTool