org.apache.lens.server.stats.store.log
Class StatisticsLogFileScannerTask

java.lang.Object
  extended by java.util.TimerTask
      extended by org.apache.lens.server.stats.store.log.StatisticsLogFileScannerTask
All Implemented Interfaces:
Runnable

public class StatisticsLogFileScannerTask
extends TimerTask

Timer class for monitoring log file rollup.


Field Summary
static String LOG_SCANNER_ERRORS
          The Constant LOG_SCANNER_ERRORS.
 
Constructor Summary
StatisticsLogFileScannerTask()
           
 
Method Summary
 void addLogFile(String event)
          Adds the log file.
 void run()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG_SCANNER_ERRORS

public static final String LOG_SCANNER_ERRORS
The Constant LOG_SCANNER_ERRORS.

See Also:
Constant Field Values
Constructor Detail

StatisticsLogFileScannerTask

public StatisticsLogFileScannerTask()
Method Detail

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.