@InterfaceAudience.LimitedPrivate(value={"Coprocesssor","Phoenix"}) @InterfaceStability.Evolving public interface RpcServerInterface
Modifier and Type | Method and Description |
---|---|
void |
addCallSize(long diff)
Add/subtract from the current size of all outstanding calls.
|
Pair<com.google.protobuf.Message,CellScanner> |
call(com.google.protobuf.BlockingService service,
com.google.protobuf.Descriptors.MethodDescriptor md,
com.google.protobuf.Message param,
CellScanner cellScanner,
long receiveTime,
MonitoredRPCHandler status) |
HBaseRPCErrorHandler |
getErrorHandler() |
InetSocketAddress |
getListenerAddress() |
MetricsHBaseServer |
getMetrics()
Returns the metrics instance for reporting RPC call statistics
|
RpcScheduler |
getScheduler() |
boolean |
isStarted() |
void |
join() |
void |
refreshAuthManager(org.apache.hadoop.security.authorize.PolicyProvider pp)
Refresh authentication manager policy.
|
void |
setErrorHandler(HBaseRPCErrorHandler handler) |
void |
setSocketSendBufSize(int size) |
void |
start() |
void |
stop() |
void start()
boolean isStarted()
void stop()
void join() throws InterruptedException
InterruptedException
void setSocketSendBufSize(int size)
InetSocketAddress getListenerAddress()
Pair<com.google.protobuf.Message,CellScanner> call(com.google.protobuf.BlockingService service, com.google.protobuf.Descriptors.MethodDescriptor md, com.google.protobuf.Message param, CellScanner cellScanner, long receiveTime, MonitoredRPCHandler status) throws IOException, com.google.protobuf.ServiceException
IOException
com.google.protobuf.ServiceException
void setErrorHandler(HBaseRPCErrorHandler handler)
HBaseRPCErrorHandler getErrorHandler()
MetricsHBaseServer getMetrics()
void addCallSize(long diff)
diff
- Change (plus or minus)void refreshAuthManager(org.apache.hadoop.security.authorize.PolicyProvider pp)
pp
- RpcScheduler getScheduler()
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.