class ConnectionManager.HConnectionImplementation.MasterServiceStubMaker extends ConnectionManager.HConnectionImplementation.StubMaker
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface |
stub |
Constructor and Description |
---|
ConnectionManager.HConnectionImplementation.MasterServiceStubMaker() |
Modifier and Type | Method and Description |
---|---|
protected String |
getServiceName()
Returns the name of the service stub being created.
|
protected void |
isMasterRunning()
Once setup, check it works by doing isMasterRunning check.
|
(package private) org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface |
makeStub()
Create a stub against the master.
|
protected Object |
makeStub(com.google.protobuf.BlockingRpcChannel channel)
Make stub and cache it internal so can be used later doing the isMasterRunning call.
|
private org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface stub
ConnectionManager.HConnectionImplementation.MasterServiceStubMaker()
protected String getServiceName()
ConnectionManager.HConnectionImplementation.StubMaker
getServiceName
in class ConnectionManager.HConnectionImplementation.StubMaker
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface makeStub() throws IOException
ConnectionManager.HConnectionImplementation.StubMaker
makeStub
in class ConnectionManager.HConnectionImplementation.StubMaker
intf
against the masterMasterNotRunningException
IOException
protected Object makeStub(com.google.protobuf.BlockingRpcChannel channel)
ConnectionManager.HConnectionImplementation.StubMaker
makeStub
in class ConnectionManager.HConnectionImplementation.StubMaker
protected void isMasterRunning() throws com.google.protobuf.ServiceException
ConnectionManager.HConnectionImplementation.StubMaker
isMasterRunning
in class ConnectionManager.HConnectionImplementation.StubMaker
com.google.protobuf.ServiceException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.