com.clearspring.metriccatcher
Class Loader
java.lang.Object
com.clearspring.metriccatcher.Loader
public class Loader
- extends Object
|
Constructor Summary |
Loader(File propertiesFile)
Load properties, build a MetricCatcher, start catching |
|
Method Summary |
static void |
main(String[] args)
Create a loader with the given properties file, if specified
on the command line. |
void |
shutdown()
Shut down the metric catcher |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Loader
public Loader(File propertiesFile)
throws IOException
- Load properties, build a MetricCatcher, start catching
- Parameters:
propertiesFile - The config file
- Throws:
IOException - if the properties file cannot be read
shutdown
public void shutdown()
- Shut down the metric catcher
main
public static void main(String[] args)
throws Exception
- Create a loader with the given properties file, if specified
on the command line.
- Parameters:
args - Optional '-c' to define a configuration file
- Throws:
Exception
Copyright © 2012. All Rights Reserved.