org.apache.hadoop.hbase.ipc
Class HBaseRPC.Invocation

java.lang.Object
  extended by 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.


Constructor Summary
HBaseRPC.Invocation()
          default constructor
HBaseRPC.Invocation(java.lang.reflect.Method method, java.lang.Object[] parameters)
           
 
Method Summary
 org.apache.hadoop.conf.Configuration getConf()
           
 java.lang.String getMethodName()
           
 java.lang.Class[] getParameterClasses()
           
 java.lang.Object[] getParameters()
           
 void readFields(java.io.DataInput in)
           
 void setConf(org.apache.hadoop.conf.Configuration conf)
           
 java.lang.String toString()
           
 void write(java.io.DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 call
parameters - parameters of call
Method Detail

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.