org.apache.hadoop.hbase
Interface Server

All Superinterfaces:
Abortable, Stoppable

@InterfaceAudience.Private
public interface Server
extends Abortable, Stoppable

Defines the set of shared functions implemented by HBase servers (Masters and RegionServers).


Method Summary
 CatalogTracker getCatalogTracker()
           
 org.apache.hadoop.conf.Configuration getConfiguration()
          Gets the configuration object for this server.
 ServerName getServerName()
           
 ZooKeeperWatcher getZooKeeper()
          Gets the ZooKeeper instance for this server.
 
Methods inherited from interface org.apache.hadoop.hbase.Abortable
abort, isAborted
 
Methods inherited from interface org.apache.hadoop.hbase.Stoppable
isStopped, stop
 

Method Detail

getConfiguration

org.apache.hadoop.conf.Configuration getConfiguration()
Gets the configuration object for this server.


getZooKeeper

ZooKeeperWatcher getZooKeeper()
Gets the ZooKeeper instance for this server.


getCatalogTracker

CatalogTracker getCatalogTracker()
Returns:
Master's instance of CatalogTracker

getServerName

ServerName getServerName()
Returns:
The unique server name for this server.


Copyright © 2015 The Apache Software Foundation. All Rights Reserved.