public class AddMountAttributes extends Object
Constructor and Description |
---|
AddMountAttributes() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hdfs.tools.federation.RouterAdmin.ACLEntity |
getAclInfo() |
String |
getDest() |
String |
getMount() |
MountTable |
getMountTableEntryWithAttributes()
Retrieve mount table object with all attributes derived from this object.
|
MountTable |
getNewOrUpdatedMountTableEntryWithAttributes(MountTable existingEntry)
Retrieve mount table object with all attributes derived from this object.
|
String[] |
getNss() |
DestinationOrder |
getOrder() |
int |
getParamIndex() |
boolean |
isFaultTolerant() |
boolean |
isReadonly() |
void |
setAclInfo(org.apache.hadoop.hdfs.tools.federation.RouterAdmin.ACLEntity aclInfo) |
void |
setDest(String dest) |
void |
setFaultTolerant(boolean faultTolerant) |
void |
setMount(String mount) |
void |
setNss(String[] nss) |
void |
setOrder(DestinationOrder order) |
void |
setParamIndex(int paramIndex) |
void |
setReadonly(boolean readonly) |
public String getMount()
public void setMount(String mount)
public String[] getNss()
public void setNss(String[] nss)
public String getDest()
public void setDest(String dest)
public boolean isReadonly()
public void setReadonly(boolean readonly)
public boolean isFaultTolerant()
public void setFaultTolerant(boolean faultTolerant)
public DestinationOrder getOrder()
public void setOrder(DestinationOrder order)
public org.apache.hadoop.hdfs.tools.federation.RouterAdmin.ACLEntity getAclInfo()
public void setAclInfo(org.apache.hadoop.hdfs.tools.federation.RouterAdmin.ACLEntity aclInfo)
public int getParamIndex()
public void setParamIndex(int paramIndex)
public MountTable getMountTableEntryWithAttributes() throws IOException
IOException
- If mount table instantiation fails.public MountTable getNewOrUpdatedMountTableEntryWithAttributes(MountTable existingEntry) throws IOException
existingEntry
- Existing mount table entry. If null, new mount table object is created,
otherwise the existing mount table object is updated.IOException
- If mount table instantiation fails.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.