Example usage for Java org.apache.hadoop.ipc Server fields, constructors, methods, implement or subclass
The text is from its open source code.
void | bind(ServerSocket socket, InetSocketAddress address, int backlog) A convenience method to bind to a given address and report better exceptions if the address is not a valid host. |
InetSocketAddress | getListenerAddress() Return the socket (ip+port) on which the RPC server is listening to. |
int | getMaxQueueSize() The maximum size of the rpc call queue of this server. |
int | getNumReaders() The number of reader threads for this server. |
String | getRemoteAddress() Returns remote address as a string when invoked inside an RPC. |
UserGroupInformation | getRemoteUser() Returns the RPC remote user when invoked inside an RPC. |
void | setSocketSendBufSize(int size) Sets the socket buffer size used for responding to RPCs |
void | start() Starts the service. |
void | stop() Stops the service. |