org.apache.hadoop.hbase.ipc
Interface RpcServerInterface
- All Known Implementing Classes:
- RpcServer
@InterfaceAudience.Private
public interface RpcServerInterface
setSocketSendBufSize
void setSocketSendBufSize(int size)
start
void start()
stop
void stop()
join
void join()
throws InterruptedException
- Throws:
InterruptedException
getListenerAddress
InetSocketAddress getListenerAddress()
call
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
- Throws:
IOException
com.google.protobuf.ServiceException
setErrorHandler
void setErrorHandler(HBaseRPCErrorHandler handler)
openServer
void openServer()
startThreads
void startThreads()
getMetrics
MetricsHBaseServer getMetrics()
- Returns the metrics instance for reporting RPC call statistics
setQosFunction
void setQosFunction(com.google.common.base.Function<Pair<RPCProtos.RequestHeader,com.google.protobuf.Message>,Integer> newFunc)
refreshAuthManager
void refreshAuthManager(org.apache.hadoop.security.authorize.PolicyProvider pp)
- Refresh autentication manager policy.
- Parameters:
pp
-
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.