public class RpcClientUtil
extends java.lang.Object
| Constructor | Description |
|---|---|
RpcClientUtil() |
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
isMethodSupported(java.lang.Object rpcProxy,
java.lang.Class<?> protocol,
RPC.RpcKind rpcKind,
long version,
java.lang.String methodName) |
Returns whether the given method is supported or not.
|
static java.lang.String |
methodToTraceString(java.lang.reflect.Method method) |
Convert an RPC method to a string.
|
static java.lang.String |
toTraceName(java.lang.String fullName) |
Convert an RPC class method to a string.
|
public static boolean isMethodSupported(java.lang.Object rpcProxy,
java.lang.Class<?> protocol,
RPC.RpcKind rpcKind,
long version,
java.lang.String methodName)
throws java.io.IOException
rpcProxy - Proxy which provides an existing connection id.protocol - Protocol for which the method check is required.rpcKind - The RpcKind for which the method check is required.version - The version at the client.methodName - Name of the method.java.io.IOException - raised on errors performing I/O.public static java.lang.String methodToTraceString(java.lang.reflect.Method method)
method - input method.public static java.lang.String toTraceName(java.lang.String fullName)
fullName - input fullName.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.