Class LocalRpcInvocation
- java.lang.Object
-
- org.apache.flink.runtime.rpc.messages.LocalRpcInvocation
-
- All Implemented Interfaces:
Message,RpcInvocation
public final class LocalRpcInvocation extends Object implements RpcInvocation
Local rpc invocation message containing the remote procedure name, its parameter types and the corresponding call arguments. This message will only be sent if the communication is local and, thus, the message does not have to be serialized.
-
-
Constructor Summary
Constructors Constructor Description LocalRpcInvocation(String declaringClass, String methodName, Class<?>[] parameterTypes, Object[] args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]getArgs()Returns the arguments of the remote procedure call.StringgetMethodName()Returns the method's name.Class<?>[]getParameterTypes()Returns the method's parameter types.StringtoString()
-
-
-
Method Detail
-
getMethodName
public String getMethodName()
Description copied from interface:RpcInvocationReturns the method's name.- Specified by:
getMethodNamein interfaceRpcInvocation- Returns:
- Method name
-
getParameterTypes
public Class<?>[] getParameterTypes()
Description copied from interface:RpcInvocationReturns the method's parameter types.- Specified by:
getParameterTypesin interfaceRpcInvocation- Returns:
- Method's parameter types
-
getArgs
public Object[] getArgs()
Description copied from interface:RpcInvocationReturns the arguments of the remote procedure call.- Specified by:
getArgsin interfaceRpcInvocation- Returns:
- Arguments of the remote procedure call
-
-