Package | Description |
---|---|
org.apache.hadoop.io.retry |
A mechanism for selectively retrying methods that throw exceptions under certain circumstances.
|
org.apache.hadoop.ipc |
Tools to help define network clients and servers.
|
Modifier and Type | Method and Description |
---|---|
Client.ConnectionId |
RetryInvocationHandler.getConnectionId() |
Modifier and Type | Method and Description |
---|---|
Client.ConnectionId |
RpcInvocationHandler.getConnectionId()
Returns the connection id associated with the InvocationHandler instance.
|
static Client.ConnectionId |
RPC.getConnectionIdForProxy(Object proxy)
Return the connection ID of the given object.
|
Modifier and Type | Method and Description |
---|---|
Writable |
Client.call(RPC.RpcKind rpcKind,
Writable rpcRequest,
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,
Client.ConnectionId remoteId,
int serviceClass)
Make a call, passing
rpcRequest , to the IPC server defined by
remoteId , returning the rpc respond. |
Writable |
Client.call(Writable param,
Client.ConnectionId remoteId)
Same as {link
Client.call(RPC.RpcKind, Writable, ConnectionId)
except the rpcKind is RPC_BUILTIN |
ProtocolProxy<ProtocolMetaInfoPB> |
WritableRpcEngine.getProtocolMetaInfoProxy(Client.ConnectionId connId,
Configuration conf,
SocketFactory factory) |
ProtocolProxy<ProtocolMetaInfoPB> |
ProtobufRpcEngine.getProtocolMetaInfoProxy(Client.ConnectionId connId,
Configuration conf,
SocketFactory factory) |
ProtocolProxy<ProtocolMetaInfoPB> |
RpcEngine.getProtocolMetaInfoProxy(Client.ConnectionId connId,
Configuration conf,
SocketFactory factory)
Returns a proxy for ProtocolMetaInfoPB, which uses the given connection
id.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.