Java org.apache.hadoop.ipc Server fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.ipc Server fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.ipc Server.

The text is from its open source code.

Method

voidbind(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.
InetSocketAddressgetListenerAddress()
Return the socket (ip+port) on which the RPC server is listening to.
intgetMaxQueueSize()
The maximum size of the rpc call queue of this server.
intgetNumReaders()
The number of reader threads for this server.
StringgetRemoteAddress()
Returns remote address as a string when invoked inside an RPC.
UserGroupInformationgetRemoteUser()
Returns the RPC remote user when invoked inside an RPC.
voidsetSocketSendBufSize(int size)
Sets the socket buffer size used for responding to RPCs
voidstart()
Starts the service.
voidstop()
Stops the service.