public interface RpcServer
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.io.Writable |
call(Class<? extends VersionedProtocol> protocol,
org.apache.hadoop.io.Writable param,
long receiveTime,
MonitoredRPCHandler status)
Called for each call.
|
InetSocketAddress |
getListenerAddress() |
HBaseRpcMetrics |
getRpcMetrics()
Returns the metrics instance for reporting RPC call statistics
|
void |
join() |
void |
openServer() |
void |
setErrorHandler(HBaseRPCErrorHandler handler) |
void |
setQosFunction(com.google.common.base.Function<org.apache.hadoop.io.Writable,Integer> newFunc) |
void |
setSocketSendBufSize(int size) |
void |
start() |
void |
startThreads() |
void |
stop() |
void setSocketSendBufSize(int size)
void start()
void stop()
void join() throws InterruptedException
InterruptedException
InetSocketAddress getListenerAddress()
org.apache.hadoop.io.Writable call(Class<? extends VersionedProtocol> protocol, org.apache.hadoop.io.Writable param, long receiveTime, MonitoredRPCHandler status) throws IOException
param
- writable parameterreceiveTime
- timeIOException
- evoid setErrorHandler(HBaseRPCErrorHandler handler)
void setQosFunction(com.google.common.base.Function<org.apache.hadoop.io.Writable,Integer> newFunc)
void openServer()
void startThreads()
HBaseRpcMetrics getRpcMetrics()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.