| 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 | Description |
|---|---|---|
Client.ConnectionId |
RetryInvocationHandler.getConnectionId() |
| Modifier and Type | Method | Description |
|---|---|---|
Client.ConnectionId |
ProtobufRpcEngine.Invoker.getConnectionId() |
|
Client.ConnectionId |
ProtobufRpcEngine2.Invoker.getConnectionId() |
|
Client.ConnectionId |
RpcInvocationHandler.getConnectionId() |
Returns the connection id associated with the InvocationHandler instance.
|
static Client.ConnectionId |
RPC.getConnectionIdForProxy(java.lang.Object proxy) |
Return the connection ID of the given object.
|
| Modifier and Type | Method | Description |
|---|---|---|
Writable |
Client.call(RPC.RpcKind rpcKind,
Writable rpcRequest,
Client.ConnectionId remoteId,
java.util.concurrent.atomic.AtomicBoolean fallbackToSimpleAuth) |
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,
java.util.concurrent.atomic.AtomicBoolean fallbackToSimpleAuth,
AlignmentContext alignmentContext) |
|
ProtocolProxy<ProtocolMetaInfoPB> |
ProtobufRpcEngine.getProtocolMetaInfoProxy(Client.ConnectionId connId,
Configuration conf,
javax.net.SocketFactory factory) |
Deprecated.
|
ProtocolProxy<ProtocolMetaInfoPB> |
ProtobufRpcEngine2.getProtocolMetaInfoProxy(Client.ConnectionId connId,
Configuration conf,
javax.net.SocketFactory factory) |
|
ProtocolProxy<ProtocolMetaInfoPB> |
RpcEngine.getProtocolMetaInfoProxy(Client.ConnectionId connId,
Configuration conf,
javax.net.SocketFactory factory) |
Returns a proxy for ProtocolMetaInfoPB, which uses the given connection
id.
|
ProtocolProxy<ProtocolMetaInfoPB> |
WritableRpcEngine.getProtocolMetaInfoProxy(Client.ConnectionId connId,
Configuration conf,
javax.net.SocketFactory factory) |
Deprecated.
|
static <T> ProtocolProxy<T> |
RPC.getProtocolProxy(java.lang.Class<T> protocol,
long clientVersion,
Client.ConnectionId connId,
Configuration conf,
javax.net.SocketFactory factory) |
Get a protocol proxy that contains a proxy connection to a remote server
and a set of methods that are supported by the server.
|
static <T> ProtocolProxy<T> |
RPC.getProtocolProxy(java.lang.Class<T> protocol,
long clientVersion,
Client.ConnectionId connId,
Configuration conf,
javax.net.SocketFactory factory,
AlignmentContext alignmentContext) |
Get a protocol proxy that contains a proxy connection to a remote server
and a set of methods that are supported by the server.
|
<T> ProtocolProxy<T> |
ProtobufRpcEngine.getProxy(java.lang.Class<T> protocol,
long clientVersion,
Client.ConnectionId connId,
Configuration conf,
javax.net.SocketFactory factory,
AlignmentContext alignmentContext) |
Deprecated.
|
<T> ProtocolProxy<T> |
ProtobufRpcEngine2.getProxy(java.lang.Class<T> protocol,
long clientVersion,
Client.ConnectionId connId,
Configuration conf,
javax.net.SocketFactory factory,
AlignmentContext alignmentContext) |
|
<T> ProtocolProxy<T> |
RpcEngine.getProxy(java.lang.Class<T> protocol,
long clientVersion,
Client.ConnectionId connId,
Configuration conf,
javax.net.SocketFactory factory,
AlignmentContext alignmentContext) |
Construct a client-side proxy object with a ConnectionId.
|
<T> ProtocolProxy<T> |
WritableRpcEngine.getProxy(java.lang.Class<T> protocol,
long clientVersion,
Client.ConnectionId connId,
Configuration conf,
javax.net.SocketFactory factory,
AlignmentContext alignmentContext) |
Deprecated.
Construct a client-side proxy object with a ConnectionId.
|
| Constructor | Description |
|---|---|
Invoker(java.lang.Class<?> protocol,
Client.ConnectionId connId,
Configuration conf,
javax.net.SocketFactory factory,
AlignmentContext alignmentContext) |
This constructor takes a connectionId, instead of creating a new one.
|
Invoker(java.lang.Class<?> protocol,
Client.ConnectionId connId,
Configuration conf,
javax.net.SocketFactory factory,
AlignmentContext alignmentContext) |
This constructor takes a connectionId, instead of creating a new one.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.