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.StubMakergetServiceName in class ConnectionManager.HConnectionImplementation.StubMakerorg.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface makeStub()
throws IOException
ConnectionManager.HConnectionImplementation.StubMakermakeStub in class ConnectionManager.HConnectionImplementation.StubMakerintf against the masterMasterNotRunningExceptionIOExceptionprotected Object makeStub(com.google.protobuf.BlockingRpcChannel channel)
ConnectionManager.HConnectionImplementation.StubMakermakeStub in class ConnectionManager.HConnectionImplementation.StubMakerprotected void isMasterRunning()
throws com.google.protobuf.ServiceException
ConnectionManager.HConnectionImplementation.StubMakerisMasterRunning in class ConnectionManager.HConnectionImplementation.StubMakercom.google.protobuf.ServiceExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.