public class NamenodeRpcAddressParam extends Param<InetSocketAddress,org.apache.hadoop.hdfs.web.resources.InetSocketAddressParam.Domain>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT
Default parameter value.
|
static String |
NAME
Parameter name.
|
Constructor and Description |
---|
NamenodeRpcAddressParam(NameNode namenode)
Construct an object using the RPC address of the given namenode.
|
NamenodeRpcAddressParam(String str)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getValueString() |
String |
toString() |
getValue, toSortedString
public static final String NAME
public static final String DEFAULT
public NamenodeRpcAddressParam(String str)
str
- a string representation of the parameter value.public NamenodeRpcAddressParam(NameNode namenode)
public String getName()
getName
in class Param<InetSocketAddress,org.apache.hadoop.hdfs.web.resources.InetSocketAddressParam.Domain>
public String toString()
toString
in class Param<InetSocketAddress,org.apache.hadoop.hdfs.web.resources.InetSocketAddressParam.Domain>
public String getValueString()
getValueString
in class Param<InetSocketAddress,org.apache.hadoop.hdfs.web.resources.InetSocketAddressParam.Domain>
Copyright © 2013 Apache Software Foundation. All rights reserved.