com.sun.faban.harness.tools
Class Lockstat
java.lang.Object
com.sun.faban.harness.tools.GenericTool
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.
- It implements the Tool interface by extending GenericTool
- Author:
- Ramesh Ramachandran
- See Also:
GenericTool
,
Tool
Constructor Summary |
Lockstat()
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Lockstat
public Lockstat()
- Deprecated.
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 anyoutDir
- The output directoryhost
- The host name to run the toolmasterhost
- The Faban mastercmdAgent
- The command agent used for executing commandslatch
- The latch to set when tool is done