@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<Message,CellScanner> |
call(BlockingService service,
MethodDescriptor md,
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(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<Message,CellScanner> call(BlockingService service, MethodDescriptor md, Message param, CellScanner cellScanner, long receiveTime, MonitoredRPCHandler status) throws IOException, ServiceException
IOException
ServiceException
void setErrorHandler(HBaseRPCErrorHandler handler)
HBaseRPCErrorHandler getErrorHandler()
MetricsHBaseServer getMetrics()
void addCallSize(long diff)
diff
- Change (plus or minus)void refreshAuthManager(PolicyProvider pp)
pp
- RpcScheduler getScheduler()