com.sun.faban.harness.tools
Class Collector
java.lang.Object
com.sun.faban.harness.tools.CommandLineTool
com.sun.faban.harness.tools.Collector
public class Collector
- extends CommandLineTool
Collector is a wrapper for the Collector. This will send the
Config.PROFILE_SIGNAL to the processes started though collector.
Note: This class is Solaris-specific. It may work on Linux or other
unix systems collector is supported. It should compile on all systems
but cause a warning/exception at runtime when trying to invoke if
collector is not available.
- It implements the Tool interface by extending GenericTool
- Author:
- Ramesh Ramachandran
- See Also:
GenericTool
,
Tool
Method Summary |
void |
configure()
This method is responsible for configuring the collector. |
void |
start()
This method is responsible for starting the collector. |
void |
stop()
This method is responsible for stopping the collector. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Collector
public Collector()
configure
public void configure()
- This method is responsible for configuring the collector.
start
public void start()
throws IOException,
InterruptedException
- This method is responsible for starting the collector.
- Overrides:
start
in class CommandLineTool
- Throws:
IOException
- Error starting the collector
InterruptedException
- Interrupted waiting for commands
stop
public void stop()
throws InterruptedException,
IOException
- This method is responsible for stopping the collector.
- Overrides:
stop
in class CommandLineTool
- Throws:
InterruptedException
- Interrupted waiting for commands
IOException
- Error stopping the collector