org.apache.lens.server.stats
Class StatisticsService
java.lang.Object
org.apache.hive.service.AbstractService
org.apache.lens.server.stats.StatisticsService
- All Implemented Interfaces:
- org.apache.hive.service.Service
public class StatisticsService
- extends org.apache.hive.service.AbstractService
The Class StatisticsService.
Nested classes/interfaces inherited from interface org.apache.hive.service.Service |
org.apache.hive.service.Service.STATE |
Method Summary |
void |
init(org.apache.hadoop.hive.conf.HiveConf hiveConf)
|
void |
start()
|
void |
stop()
|
Methods inherited from class org.apache.hive.service.AbstractService |
getHiveConf, getName, getServiceState, getStartTime, register, unregister |
STATS_SVC_NAME
public static final String STATS_SVC_NAME
- The Constant STATS_SVC_NAME.
- See Also:
- Constant Field Values
StatisticsService
public StatisticsService(String name)
- Instantiates a new statistics service.
- Parameters:
name
- the name
init
public void init(org.apache.hadoop.hive.conf.HiveConf hiveConf)
- Specified by:
init
in interface org.apache.hive.service.Service
- Overrides:
init
in class org.apache.hive.service.AbstractService
start
public void start()
- Specified by:
start
in interface org.apache.hive.service.Service
- Overrides:
start
in class org.apache.hive.service.AbstractService
stop
public void stop()
- Specified by:
stop
in interface org.apache.hive.service.Service
- Overrides:
stop
in class org.apache.hive.service.AbstractService
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.