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 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(Method method, Object[] parameters)
           
 
Method Summary
 org.apache.hadoop.conf.Configuration getConf()
           
 String getMethodName()
           
 Class[] getParameterClasses()
           
 Object[] getParameters()
           
 void readFields(DataInput in)
           
 void setConf(org.apache.hadoop.conf.Configuration conf)
           
 String toString()
           
 void write(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(Method method,
                           Object[] parameters)
Parameters:
method - method to call
parameters - parameters of call
Method Detail

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.