org.apache.hadoop.hbase.ipc
Class HBaseRPC.Invocation
java.lang.Object
org.apache.hadoop.hbase.ipc.HBaseRPC.Invocation
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.io.Writable
- Enclosing class:
- HBaseRPC
public static class HBaseRPC.Invocation
- extends Object
- implements org.apache.hadoop.io.Writable, org.apache.hadoop.conf.Configurable
A method invocation, including the method name and its parameters.
HBaseRPC.Invocation
public HBaseRPC.Invocation()
- default constructor
HBaseRPC.Invocation
public HBaseRPC.Invocation(Method method,
Object[] parameters)
- Parameters:
method
- method to callparameters
- parameters of call
getMethodName
public String getMethodName()
- Returns:
- The name of the method invoked.
getParameterClasses
public Class[] getParameterClasses()
- Returns:
- The parameter classes.
getParameters
public Object[] getParameters()
- Returns:
- The parameter instances.
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
setConf
public void setConf(org.apache.hadoop.conf.Configuration conf)
- Specified by:
setConf
in interface org.apache.hadoop.conf.Configurable
getConf
public org.apache.hadoop.conf.Configuration getConf()
- Specified by:
getConf
in interface org.apache.hadoop.conf.Configurable
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.