public class ReplicationParam extends Param<Short,org.apache.hadoop.hdfs.web.resources.ShortParam.Domain>
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT
Default parameter value.
|
static String |
NAME
Parameter name.
|
| Constructor and Description |
|---|
ReplicationParam(Short value)
Constructor.
|
ReplicationParam(String str)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
short |
getValue(Configuration conf) |
String |
getValueString() |
String |
toString() |
getValue, toSortedStringpublic static final String NAME
public static final String DEFAULT
public ReplicationParam(Short value)
value - the parameter value.public ReplicationParam(String str)
str - a string representation of the parameter value.public String getName()
getName in class Param<Short,org.apache.hadoop.hdfs.web.resources.ShortParam.Domain>public short getValue(Configuration conf)
public String toString()
toString in class Param<Short,org.apache.hadoop.hdfs.web.resources.ShortParam.Domain>public final String getValueString()
getValueString in class Param<Short,org.apache.hadoop.hdfs.web.resources.ShortParam.Domain>Copyright © 2018 CERN. All Rights Reserved.