com.sun.faban.harness.tools
Class Lockstat

java.lang.Object
  extended by com.sun.faban.harness.tools.GenericTool
      extended by com.sun.faban.harness.tools.Lockstat
All Implemented Interfaces:
Tool

Deprecated.

@Deprecated
public class Lockstat
extends GenericTool

Lockstat is a wrapper for the lockstat utility.

Author:
Ramesh Ramachandran
See Also:
GenericTool, Tool

Field Summary
 
Fields inherited from class com.sun.faban.harness.tools.GenericTool
timer
 
Constructor Summary
Lockstat()
          Deprecated.  
 
Method Summary
 void configure(String toolName, List<String> argList, String path, String outDir, String host, String masterhost, CmdAgentImpl cmdAgent, CountDownLatch latch)
          Deprecated. Configures lockstat.
 
Methods inherited from class com.sun.faban.harness.tools.GenericTool
buildCmd, finish, kill, start, start, start, stop, stop, xferLog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lockstat

public Lockstat()
Deprecated. 
Method Detail

configure

public void configure(String toolName,
                      List<String> argList,
                      String path,
                      String outDir,
                      String host,
                      String masterhost,
                      CmdAgentImpl cmdAgent,
                      CountDownLatch latch)
Deprecated. 
Configures lockstat. It appends the toolName with 'sleep 30' as this tool can run only for a limited amount of time and calls GenericTool with the arguments to configure.

Specified by:
configure in interface Tool
Overrides:
configure in class GenericTool
Parameters:
toolName - The tool name.
argList - The argument list.
path - The path, if any
outDir - The output directory
host - The host name to run the tool
masterhost - The Faban master
cmdAgent - The command agent used for executing commands
latch - The latch to set when tool is done