public class Invocation
extends org.apache.hadoop.io.VersionedWritable
implements org.apache.hadoop.conf.Configurable
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.conf.Configuration |
conf |
protected String |
methodName |
protected Class[] |
parameterClasses |
protected Object[] |
parameters |
Constructor and Description |
---|
Invocation() |
Invocation(Method method,
Class<? extends VersionedProtocol> declaringClass,
Object[] parameters) |
Modifier and Type | Method and Description |
---|---|
protected int |
getClientMethodsHash() |
org.apache.hadoop.conf.Configuration |
getConf() |
String |
getMethodName() |
Class[] |
getParameterClasses() |
Object[] |
getParameters() |
long |
getRpcVersion()
Returns the rpc version used by the client.
|
byte |
getVersion() |
void |
readFields(DataInput in) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
String |
toString() |
void |
write(DataOutput out) |
protected String methodName
protected Class[] parameterClasses
protected Object[] parameters
protected org.apache.hadoop.conf.Configuration conf
public Invocation()
public Invocation(Method method, Class<? extends VersionedProtocol> declaringClass, Object[] parameters)
public String getMethodName()
public Class[] getParameterClasses()
public Object[] getParameters()
protected int getClientMethodsHash()
public long getRpcVersion()
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class org.apache.hadoop.io.VersionedWritable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class org.apache.hadoop.io.VersionedWritable
IOException
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public byte getVersion()
getVersion
in class org.apache.hadoop.io.VersionedWritable
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.