org.apache.lens.server.stats.store.log
Class StatisticsLogFileScannerTask
java.lang.Object
java.util.TimerTask
org.apache.lens.server.stats.store.log.StatisticsLogFileScannerTask
- All Implemented Interfaces:
- Runnable
public class StatisticsLogFileScannerTask
- extends TimerTask
Timer class for monitoring log file rollup.
LOG_SCANNER_ERRORS
public static final String LOG_SCANNER_ERRORS
- The Constant LOG_SCANNER_ERRORS.
- See Also:
- Constant Field Values
StatisticsLogFileScannerTask
public StatisticsLogFileScannerTask()
run
public void run()
- Specified by:
run
in interface Runnable
- Specified by:
run
in class TimerTask
addLogFile
public void addLogFile(String event)
- Adds the log file.
- Parameters:
event
- the event
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.