|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RpcServer
| Method Summary | |
|---|---|
org.apache.hadoop.io.Writable |
call(Class<? extends VersionedProtocol> protocol,
org.apache.hadoop.io.Writable param,
long receiveTime,
MonitoredRPCHandler status)
Called for each call. |
int |
getCallQueueLen()
|
Delayable |
getCurrentCall()
Needed for delayed calls. |
InetSocketAddress |
getListenerAddress()
|
int |
getNumOpenConnections()
|
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()
|
| Method Detail |
|---|
void setSocketSendBufSize(int size)
void start()
void stop()
void join()
throws InterruptedException
InterruptedExceptionInetSocketAddress 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 - time
IOException - eint getNumOpenConnections()
int getCallQueueLen()
void setErrorHandler(HBaseRPCErrorHandler handler)
void setQosFunction(com.google.common.base.Function<org.apache.hadoop.io.Writable,Integer> newFunc)
void openServer()
void startThreads()
Delayable getCurrentCall()
HBaseRpcMetrics getRpcMetrics()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||