Uses of Class
org.apache.hadoop.ipc.Client.ConnectionId
Packages that use Client.ConnectionId
Package
Description
A mechanism for selectively retrying methods that throw exceptions under
certain circumstances.
Tools to help define network clients and servers.
-
Uses of Client.ConnectionId in org.apache.hadoop.io.retry
Methods in org.apache.hadoop.io.retry that return Client.ConnectionId -
Uses of Client.ConnectionId in org.apache.hadoop.ipc
Methods in org.apache.hadoop.ipc that return Client.ConnectionIdModifier and TypeMethodDescriptionProtobufRpcEngine.Invoker.getConnectionId()ProtobufRpcEngine2.Invoker.getConnectionId()RpcInvocationHandler.getConnectionId()Returns the connection id associated with the InvocationHandler instance.static Client.ConnectionIdRPC.getConnectionIdForProxy(Object proxy) Return the connection ID of the given object.Methods in org.apache.hadoop.ipc with parameters of type Client.ConnectionIdModifier and TypeMethodDescriptionClient.call(RPC.RpcKind rpcKind, Writable rpcRequest, Client.ConnectionId remoteId, AtomicBoolean fallbackToSimpleAuth) Make a call, passingrpcRequest, to the IPC server defined byremoteId, returning the rpc respond.Client.call(RPC.RpcKind rpcKind, Writable rpcRequest, Client.ConnectionId remoteId, AtomicBoolean fallbackToSimpleAuth, AlignmentContext alignmentContext) ProtobufRpcEngine.getProtocolMetaInfoProxy(Client.ConnectionId connId, Configuration conf, SocketFactory factory) Deprecated.ProtobufRpcEngine2.getProtocolMetaInfoProxy(Client.ConnectionId connId, Configuration conf, SocketFactory factory) RpcEngine.getProtocolMetaInfoProxy(Client.ConnectionId connId, Configuration conf, SocketFactory factory) Returns a proxy for ProtocolMetaInfoPB, which uses the given connection id.WritableRpcEngine.getProtocolMetaInfoProxy(Client.ConnectionId connId, Configuration conf, SocketFactory factory) Deprecated.static <T> ProtocolProxy<T>RPC.getProtocolProxy(Class<T> protocol, long clientVersion, Client.ConnectionId connId, Configuration conf, 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(Class<T> protocol, long clientVersion, Client.ConnectionId connId, Configuration conf, 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(Class<T> protocol, long clientVersion, Client.ConnectionId connId, Configuration conf, SocketFactory factory, AlignmentContext alignmentContext) Deprecated.<T> ProtocolProxy<T>ProtobufRpcEngine2.getProxy(Class<T> protocol, long clientVersion, Client.ConnectionId connId, Configuration conf, SocketFactory factory, AlignmentContext alignmentContext) <T> ProtocolProxy<T>RpcEngine.getProxy(Class<T> protocol, long clientVersion, Client.ConnectionId connId, Configuration conf, SocketFactory factory, AlignmentContext alignmentContext) Construct a client-side proxy object with a ConnectionId.<T> ProtocolProxy<T>WritableRpcEngine.getProxy(Class<T> protocol, long clientVersion, Client.ConnectionId connId, Configuration conf, SocketFactory factory, AlignmentContext alignmentContext) Deprecated.Construct a client-side proxy object with a ConnectionId.Constructors in org.apache.hadoop.ipc with parameters of type Client.ConnectionIdModifierConstructorDescriptionprotectedInvoker(Class<?> protocol, Client.ConnectionId connId, Configuration conf, SocketFactory factory, AlignmentContext alignmentContext) This constructor takes a connectionId, instead of creating a new one.protectedInvoker(Class<?> protocol, Client.ConnectionId connId, Configuration conf, SocketFactory factory, AlignmentContext alignmentContext) This constructor takes a connectionId, instead of creating a new one.