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 java.lang.Object
- implements org.apache.hadoop.io.Writable, org.apache.hadoop.conf.Configurable
A method invocation, including the method name and its parameters.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HBaseRPC.Invocation
public HBaseRPC.Invocation()
- default constructor
HBaseRPC.Invocation
public HBaseRPC.Invocation(java.lang.reflect.Method method,
java.lang.Object[] parameters)
- Parameters:
method - method to callparameters - parameters of call
getMethodName
public java.lang.String getMethodName()
- Returns:
- The name of the method invoked.
getParameterClasses
public java.lang.Class[] getParameterClasses()
- Returns:
- The parameter classes.
getParameters
public java.lang.Object[] getParameters()
- Returns:
- The parameter instances.
readFields
public void readFields(java.io.DataInput in)
throws java.io.IOException
- Specified by:
readFields in interface org.apache.hadoop.io.Writable
- Throws:
java.io.IOException
write
public void write(java.io.DataOutput out)
throws java.io.IOException
- Specified by:
write in interface org.apache.hadoop.io.Writable
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.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.