com.sun.faban.harness.tools
Class Statspack

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

Deprecated.

@Deprecated
public class Statspack
extends OracleTool

Runs Oracle's statspack tool.


Constructor Summary
Statspack()
          Deprecated.  
 
Method Summary
protected  String getReportCommand(String snapId, String snapId1, String outputFile)
          Deprecated. Creates a sqlplus command to create awr reports.
protected  String getSnapCommand()
          Deprecated. Creates a sqlplus command to create an awr snapshot.
 
Methods inherited from class com.sun.faban.harness.tools.OracleTool
configure, finish, getLogFile, getOutputFile, kill, parseSnapId, start, start, start, stop, stop, xferFile, xferLog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Statspack

public Statspack()
Deprecated. 
Method Detail

getSnapCommand

protected String getSnapCommand()
Deprecated. 
Creates a sqlplus command to create an awr snapshot.

Specified by:
getSnapCommand in class OracleTool
Returns:
The sqlplus command string

getReportCommand

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

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