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, stoppublic static final String LOG_STORE_ERRORS
public LogStatisticsStore()
public void initialize(org.apache.hadoop.hive.conf.HiveConf conf)
StatisticsStoreinitialize in class StatisticsStore<LoggableLensStatistics>conf - configuration for the storepublic void process(LoggableLensStatistics event)
AsyncEventListenerprocess in class AsyncEventListener<LoggableLensStatistics>event - the eventpublic void start(LensEventService service)
StatisticsStorestart in class StatisticsStore<LoggableLensStatistics>service - the servicepublic void stop(LensEventService service)
StatisticsStorestop in class StatisticsStore<LoggableLensStatistics>service - the serviceCopyright © 2014–2016 Apache Software Foundation. All rights reserved.