|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@InterfaceAudience.LimitedPrivate(value={"Coprocesssor","Phoenix"})
@InterfaceStability.Evolving
public interface RpcServerInterface
RpcServer Interface.
Start calls openServer() and then startThreads(). Prefer start()
and stop(). Only use openServer() and startThreads() if in a
situation where you could start getting requests though the server not up and fully
initiaalized.
| Method Summary | |
|---|---|
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 |
boolean |
isStarted()
|
void |
join()
|
void |
openServer()
|
void |
refreshAuthManager(org.apache.hadoop.security.authorize.PolicyProvider pp)
Refresh authentication manager policy. |
void |
setErrorHandler(HBaseRPCErrorHandler handler)
|
void |
setSocketSendBufSize(int size)
|
void |
start()
|
void |
startThreads()
|
void |
stop()
|
| Method Detail |
|---|
void start()
void openServer()
void startThreads()
boolean isStarted()
void stop()
void join()
throws InterruptedException
InterruptedExceptionvoid 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.ServiceExceptionvoid 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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||