Public Member Functions | |
LogMonitor (String[] args) | |
void | close () |
void | run () |
Static Public Member Functions | |
static void | printUsage () |
static void | main (String[] args) |
The LogMonitor
tool connects to the logging NC and elaborates statistics on the logs it receives.
The statistics are based on the type (i.e. level) of the logs and not on their content.
alma.acs.logtools.monitor.LogMonitor.LogMonitor | ( | String[] | args | ) |
Constructor
args | The command line params |
wait until the user closes the application
References alma.acs.logtools.monitor.LogDetailsDispatcher.addNumsListener().
Referenced by alma.acs.logtools.monitor.LogMonitor.main().
void alma.acs.logtools.monitor.LogMonitor.close | ( | ) |
Terminates the application
References alma.acs.logtools.monitor.gui.LogMonitorFrame.close(), alma.acs.logtools.monitor.file.FileStatistics.close(), alma.acs.logtools.monitor.LogDetailsDispatcher.close(), and alma.acs.logtools.monitor.LogDetailsDispatcher.removeNumsListener().
Referenced by alma.acs.logtools.monitor.gui.LogMonitorFrame.actionPerformed(), and alma.acs.logtools.monitor.LogMonitor.run().
static void alma.acs.logtools.monitor.LogMonitor.main | ( | String[] | args | ) | [static] |
Starts the application
args | Command line arguments |
References alma.acs.logtools.monitor.LogMonitor.LogMonitor().
static void alma.acs.logtools.monitor.LogMonitor.printUsage | ( | ) | [static] |
Print the usage message
void alma.acs.logtools.monitor.LogMonitor.run | ( | ) |
The thread for the shutdown hook
References alma.acs.logtools.monitor.LogMonitor.close().