org.apache.lens.server.stats
Class StatisticsService

java.lang.Object
  extended by org.apache.hive.service.AbstractService
      extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hive.service.Service
org.apache.hive.service.Service.STATE
 
Field Summary
static String STATS_SVC_NAME
          The Constant STATS_SVC_NAME.
 
Constructor Summary
StatisticsService(String name)
          Instantiates a new statistics service.
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATS_SVC_NAME

public static final String STATS_SVC_NAME
The Constant STATS_SVC_NAME.

See Also:
Constant Field Values
Constructor Detail

StatisticsService

public StatisticsService(String name)
Instantiates a new statistics service.

Parameters:
name - the name
Method Detail

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.