public class LogStatisticsStore extends StatisticsStore<LoggableLensStatistics>
Modifier and Type | Field and Description |
---|---|
static String |
LOG_STORE_ERRORS
The Constant LOG_STORE_ERRORS.
|
HANDLER_METHOD_NAME
Constructor and Description |
---|
LogStatisticsStore()
Instantiates a new log statistics store.
|
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.hadoop.hive.conf.HiveConf conf)
Initialize the store.
|
void |
process(LoggableLensStatistics event)
Should implement the actual event handling.
|
void |
start(LensEventService service)
Start the Store.
|
void |
stop(LensEventService service)
Stop the store.
|
getEventQueue, onEvent, stop
public static final String LOG_STORE_ERRORS
public LogStatisticsStore()
public void initialize(org.apache.hadoop.hive.conf.HiveConf conf)
StatisticsStore
initialize
in class StatisticsStore<LoggableLensStatistics>
conf
- configuration for the storepublic void process(LoggableLensStatistics event)
AsyncEventListener
process
in class AsyncEventListener<LoggableLensStatistics>
event
- the eventpublic void start(LensEventService service)
StatisticsStore
start
in class StatisticsStore<LoggableLensStatistics>
service
- the servicepublic void stop(LensEventService service)
StatisticsStore
stop
in class StatisticsStore<LoggableLensStatistics>
service
- the serviceCopyright © 2014–2018 Apache Software Foundation. All rights reserved.