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