Uses of Enum Class
org.apache.hadoop.ipc.RPC.RpcKind
Packages that use RPC.RpcKind
Package
Description
Tools to help define network clients and servers.
Common utilities.
-
Uses of RPC.RpcKind in org.apache.hadoop.ipc
Methods in org.apache.hadoop.ipc that return RPC.RpcKindModifier and TypeMethodDescriptionstatic RPC.RpcKindReturns the enum constant of this class with the specified name.static RPC.RpcKind[]RPC.RpcKind.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.hadoop.ipc with parameters of type RPC.RpcKindModifier and TypeMethodDescriptionRPC.Server.addProtocol(RPC.RpcKind rpcKind, Class<?> protocolClass, Object protocolImpl) Add a protocol to the existing server.Client.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) RPC.Server.call(RPC.RpcKind rpcKind, String protocol, Writable rpcRequest, long receiveTime) abstract WritableServer.call(RPC.RpcKind rpcKind, String protocol, Writable param, long receiveTime) Called for each call.static org.apache.hadoop.ipc.RPC.RpcInvokerServer.getRpcInvoker(RPC.RpcKind rpcKind) protected org.apache.hadoop.ipc.RPC.RpcInvokerProtobufRpcEngine2.Server.getServerRpcInvoker(RPC.RpcKind rpcKind) protected org.apache.hadoop.ipc.RPC.RpcInvokerServer.getServerRpcInvoker(RPC.RpcKind rpcKind) static booleanRpcClientUtil.isMethodSupported(Object rpcProxy, Class<?> protocol, RPC.RpcKind rpcKind, long version, String methodName) Returns whether the given method is supported or not.static voidServer.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.RpcKindModifierConstructorDescriptionCall(int id, int retryCount, Void ignore1, Void ignore2, RPC.RpcKind kind, byte[] clientId) -
Uses of RPC.RpcKind in org.apache.hadoop.util
Methods in org.apache.hadoop.util that return RPC.RpcKindModifier and TypeMethodDescriptionstatic RPC.RpcKindProtoUtil.convert(org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcKindProto kind) Methods in org.apache.hadoop.util with parameters of type RPC.RpcKindModifier and TypeMethodDescriptionstatic org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcRequestHeaderProtoProtoUtil.makeRpcRequestHeader(RPC.RpcKind rpcKind, org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcRequestHeaderProto.OperationProto operation, int callId, int retryCount, byte[] uuid) static org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcRequestHeaderProtoProtoUtil.makeRpcRequestHeader(RPC.RpcKind rpcKind, org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcRequestHeaderProto.OperationProto operation, int callId, int retryCount, byte[] uuid, AlignmentContext alignmentContext)