public class Collector extends CommandLineTool
GenericTool
,
Tool
ctx, stopTime
Constructor and Description |
---|
Collector() |
Modifier and Type | Method and Description |
---|---|
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.
|
config, postprocess
public void configure()
public void start() throws IOException, InterruptedException
start
in class CommandLineTool
IOException
- Error starting the collectorInterruptedException
- Interrupted waiting for commandspublic void stop() throws InterruptedException, IOException
stop
in class CommandLineTool
InterruptedException
- Interrupted waiting for commandsIOException
- Error stopping the collector