| Package | Description |
|---|---|
| org.apache.hadoop.ipc |
Tools to help define network clients and servers.
|
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ProtobufRpcEngine.Server |
Deprecated.
Server implementation is always ProtobufRpcEngine2 based implementation,
supports backward compatibility for protobuf 2.5 based implementations,
which uses non-shaded protobuf classes.
|
static class |
ProtobufRpcEngine2.Server |
|
static class |
WritableRpcEngine.Server |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
RPC.Server |
RPC.Server.addProtocol(RPC.RpcKind rpcKind,
java.lang.Class<?> protocolClass,
java.lang.Object protocolImpl) |
Add a protocol to the existing server.
|
RPC.Server |
RPC.Builder.build() |
|
RPC.Server |
ProtobufRpcEngine.getServer(java.lang.Class<?> protocol,
java.lang.Object protocolImpl,
java.lang.String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
Configuration conf,
SecretManager<? extends TokenIdentifier> secretManager,
java.lang.String portRangeConfig,
AlignmentContext alignmentContext) |
Deprecated.
|
RPC.Server |
ProtobufRpcEngine2.getServer(java.lang.Class<?> protocol,
java.lang.Object protocolImpl,
java.lang.String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
Configuration conf,
SecretManager<? extends TokenIdentifier> secretManager,
java.lang.String portRangeConfig,
AlignmentContext alignmentContext) |
|
RPC.Server |
RpcEngine.getServer(java.lang.Class<?> protocol,
java.lang.Object instance,
java.lang.String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
Configuration conf,
SecretManager<? extends TokenIdentifier> secretManager,
java.lang.String portRangeConfig,
AlignmentContext alignmentContext) |
Construct a server for a protocol implementation instance.
|
RPC.Server |
WritableRpcEngine.getServer(java.lang.Class<?> protocolClass,
java.lang.Object protocolImpl,
java.lang.String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
Configuration conf,
SecretManager<? extends TokenIdentifier> secretManager,
java.lang.String portRangeConfig,
AlignmentContext alignmentContext) |
Deprecated.
|
| Constructor | Description |
|---|---|
ProtocolMetaInfoServerSideTranslatorPB(RPC.Server server) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.