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

java.lang.Object
  extended by org.apache.lens.server.stats.store.log.StatisticsLogRollupHandler

public class StatisticsLogRollupHandler
extends Object

Class which handles the log4j rolled file.


Constructor Summary
StatisticsLogRollupHandler()
           
 
Method Summary
 void addToScanTask(String event)
          Adds the to scan task.
 void initialize(org.apache.hadoop.conf.Configuration conf)
          Initalize the handler.
 void start(LensEventService service)
          Start.
 void stop()
          Stop.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticsLogRollupHandler

public StatisticsLogRollupHandler()
Method Detail

initialize

public void initialize(org.apache.hadoop.conf.Configuration conf)
Initalize the handler.

Parameters:
conf - configuration to be used while initialization.

start

public void start(LensEventService service)
Start.

Parameters:
service - the service

stop

public void stop()
Stop.


addToScanTask

public void addToScanTask(String event)
Adds the to scan task.

Parameters:
event - the event


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.