|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use RPC.RpcKind | |
|---|---|
| org.apache.hadoop.ipc | Tools to help define network clients and servers. |
| org.apache.hadoop.util | Common utilities. |
| Uses of RPC.RpcKind in org.apache.hadoop.ipc |
|---|
| Methods in org.apache.hadoop.ipc that return RPC.RpcKind | |
|---|---|
static RPC.RpcKind |
RPC.RpcKind.valueOf(String name)
|
static RPC.RpcKind[] |
RPC.RpcKind.values()
|
| Methods in org.apache.hadoop.ipc with parameters of type RPC.RpcKind | |
|---|---|
RPC.Server |
RPC.Server.addProtocol(RPC.RpcKind rpcKind,
Class<?> protocolClass,
Object protocolImpl)
Add a protocol to the existing server. |
Writable |
RPC.Server.call(RPC.RpcKind rpcKind,
String protocol,
Writable rpcRequest,
long receiveTime)
|
abstract Writable |
Server.call(RPC.RpcKind rpcKind,
String protocol,
Writable param,
long receiveTime)
Called for each call. |
Writable |
Client.call(RPC.RpcKind rpcKind,
Writable rpcRequest,
org.apache.hadoop.ipc.Client.ConnectionId remoteId)
Make a call, passing rpcRequest, to the IPC server defined by
remoteId, returning the rpc respond. |
Writable |
Client.call(RPC.RpcKind rpcKind,
Writable rpcRequest,
org.apache.hadoop.ipc.Client.ConnectionId remoteId,
int serviceClass)
Make a call, passing rpcRequest, to the IPC server defined by
remoteId, returning the rpc respond. |
Writable |
Client.call(RPC.RpcKind rpcKind,
Writable param,
InetSocketAddress address)
Deprecated. Use Client.call(RPC.RpcKind, Writable,
ConnectionId) instead |
Writable |
Client.call(RPC.RpcKind rpcKind,
Writable param,
InetSocketAddress addr,
Class<?> protocol,
org.apache.hadoop.security.UserGroupInformation ticket,
int rpcTimeout)
Deprecated. Use Client.call(RPC.RpcKind, Writable,
ConnectionId) instead |
Writable |
Client.call(RPC.RpcKind rpcKind,
Writable param,
InetSocketAddress addr,
Class<?> protocol,
org.apache.hadoop.security.UserGroupInformation ticket,
int rpcTimeout,
Configuration conf)
Make a call, passing param, to the IPC server running at
address which is servicing the protocol protocol,
with the ticket credentials, rpcTimeout as
timeout and conf as conf for this connection, returning the
value. |
Writable |
Client.call(RPC.RpcKind rpcKind,
Writable param,
InetSocketAddress addr,
org.apache.hadoop.security.UserGroupInformation ticket)
Deprecated. Use Client.call(RPC.RpcKind, Writable,
ConnectionId) instead |
static org.apache.hadoop.ipc.RPC.RpcInvoker |
Server.getRpcInvoker(RPC.RpcKind rpcKind)
|
static boolean |
RpcClientUtil.isMethodSupported(Object rpcProxy,
Class<?> protocol,
RPC.RpcKind rpcKind,
long version,
String methodName)
Returns whether the given method is supported or not. |
static void |
Server.registerProtocolEngine(RPC.RpcKind rpcKind,
Class<? extends Writable> rpcRequestWrapperClass,
org.apache.hadoop.ipc.RPC.RpcInvoker rpcInvoker)
Register a RPC kind and the class to deserialize the rpc request. |
| Constructors in org.apache.hadoop.ipc with parameters of type RPC.RpcKind | |
|---|---|
Server.Call(int id,
int retryCount,
Writable param,
Server.Connection connection,
RPC.RpcKind kind,
byte[] clientId)
|
|
| Uses of RPC.RpcKind in org.apache.hadoop.util |
|---|
| Methods in org.apache.hadoop.util that return RPC.RpcKind | |
|---|---|
static RPC.RpcKind |
ProtoUtil.convert(RpcHeaderProtos.RpcKindProto kind)
|
| Methods in org.apache.hadoop.util with parameters of type RPC.RpcKind | |
|---|---|
static RpcHeaderProtos.RpcRequestHeaderProto |
ProtoUtil.makeRpcRequestHeader(RPC.RpcKind rpcKind,
RpcHeaderProtos.RpcRequestHeaderProto.OperationProto operation,
int callId,
int retryCount,
byte[] uuid)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||