Package org.apache.hadoop.hbase.ipc
Class RpcServer.BlockingServiceAndInterface
java.lang.Object
org.apache.hadoop.hbase.ipc.RpcServer.BlockingServiceAndInterface
- Enclosing class:
- RpcServer
Datastructure for passing a
BlockingService
and its associated class of protobuf
service interface. For example, a server that fielded what is defined in the client protobuf
service would pass in an implementation of the client blocking service and then its
ClientService.BlockingInterface.class. Used checking connection setup.-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.apache.hbase.thirdparty.com.google.protobuf.BlockingService
private final Class<?>
-
Constructor Summary
ConstructorDescriptionBlockingServiceAndInterface
(org.apache.hbase.thirdparty.com.google.protobuf.BlockingService service, Class<?> serviceInterface) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hbase.thirdparty.com.google.protobuf.BlockingService
Class<?>
-
Field Details
-
service
-
serviceInterface
-
-
Constructor Details
-
BlockingServiceAndInterface
public BlockingServiceAndInterface(org.apache.hbase.thirdparty.com.google.protobuf.BlockingService service, Class<?> serviceInterface)
-
-
Method Details
-
getServiceInterface
-
getBlockingService
-