|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.ipc.Server
org.apache.hadoop.ipc.RPC.Server
org.apache.hadoop.yarn.ipc.ProtoOverHadoopRpcEngine.Server
public static class ProtoOverHadoopRpcEngine.Server
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.hadoop.ipc.Server |
|---|
org.apache.hadoop.ipc.Server.Connection |
| Field Summary |
|---|
| Fields inherited from class org.apache.hadoop.ipc.Server |
|---|
AUDITLOG, CURRENT_VERSION, HEADER, LOG, rpcDetailedMetrics, rpcMetrics |
| Constructor Summary | |
|---|---|
ProtoOverHadoopRpcEngine.Server(Object instance,
org.apache.hadoop.conf.Configuration conf,
String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
org.apache.hadoop.security.token.SecretManager<? extends org.apache.hadoop.security.token.TokenIdentifier> secretManager,
String portRangeConfig)
Construct an RPC server. |
|
| Method Summary | |
|---|---|
org.apache.hadoop.io.Writable |
call(Class<?> protocol,
org.apache.hadoop.io.Writable writableRequest,
long receiveTime)
|
| Methods inherited from class org.apache.hadoop.ipc.Server |
|---|
authorize, bind, bind, call, get, getCallQueueLen, getListenerAddress, getMaxQueueSize, getNumOpenConnections, getNumReaders, getPort, getRemoteAddress, getRemoteIp, getRpcDetailedMetrics, getRpcMetrics, getServiceAuthorizationManager, isRpcInvocation, join, refreshServiceAcl, setSocketSendBufSize, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProtoOverHadoopRpcEngine.Server(Object instance,
org.apache.hadoop.conf.Configuration conf,
String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
org.apache.hadoop.security.token.SecretManager<? extends org.apache.hadoop.security.token.TokenIdentifier> secretManager,
String portRangeConfig)
throws IOException
instance - the instance whose methods will be calledconf - the configuration to usebindAddress - the address to bind on to listen for connectionport - the port to listen for connections onnumHandlers - the number of method handler threads to runverbose - whether each call should be loggedportRangeConfig - an optional config value used to limit ephemeral port ranges.
IOException| Method Detail |
|---|
public org.apache.hadoop.io.Writable call(Class<?> protocol,
org.apache.hadoop.io.Writable writableRequest,
long receiveTime)
throws IOException
call in class org.apache.hadoop.ipc.ServerIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||