|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cloudera.api.model.ApiNameservice
public class ApiNameservice
Provides information about an HDFS nameservice.
Nameservices can be either a stand-alone NameNode, a NameNode paired with a SecondaryNameNode, or a high-availability pair formed by an active and a stand-by NameNode.
The following fields are only available in the object's full view:
Constructor Summary | |
---|---|
ApiNameservice()
|
|
ApiNameservice(String name,
ApiRoleRef active,
ApiRoleRef activeFC,
ApiRoleRef standBy,
ApiRoleRef standByFC,
ApiRoleRef secondary,
List<String> mountPoints)
|
Method Summary | |
---|---|
ApiRoleRef |
getActive()
Reference to the active NameNode. |
ApiRoleRef |
getActiveFailoverController()
Reference to the active NameNode's failover controller, if configured. |
List<ApiHealthCheck> |
getHealthChecks()
Requires "full" view. |
ApiHealthSummary |
getHealthSummary()
Requires "full" view. |
List<String> |
getMountPoints()
Mount points assigned to this nameservice in a federation. |
String |
getName()
Name of the nameservice. |
ApiRoleRef |
getSecondary()
Reference to the SecondaryNameNode. |
ApiRoleRef |
getStandBy()
Reference to the stand-by NameNode. |
ApiRoleRef |
getStandByFailoverController()
Reference to the stand-by NameNode's failover controller, if configured. |
void |
setActive(ApiRoleRef active)
|
void |
setActiveFailoverController(ApiRoleRef activeFailoverController)
|
void |
setHealthChecks(List<ApiHealthCheck> healthChecks)
|
void |
setHealthSummary(ApiHealthSummary healthSummary)
|
void |
setMountPoints(List<String> mountPoints)
|
void |
setName(String name)
|
void |
setSecondary(ApiRoleRef secondary)
|
void |
setStandBy(ApiRoleRef standBy)
|
void |
setStandByFailoverController(ApiRoleRef standByFailoverController)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApiNameservice()
public ApiNameservice(String name, ApiRoleRef active, ApiRoleRef activeFC, ApiRoleRef standBy, ApiRoleRef standByFC, ApiRoleRef secondary, List<String> mountPoints)
Method Detail |
---|
public String getName()
public void setName(String name)
public ApiRoleRef getActive()
public void setActive(ApiRoleRef active)
public ApiRoleRef getActiveFailoverController()
public void setActiveFailoverController(ApiRoleRef activeFailoverController)
public ApiRoleRef getStandBy()
public void setStandBy(ApiRoleRef standBy)
public ApiRoleRef getStandByFailoverController()
public void setStandByFailoverController(ApiRoleRef standByFailoverController)
public ApiRoleRef getSecondary()
public void setSecondary(ApiRoleRef secondary)
public List<String> getMountPoints()
public void setMountPoints(List<String> mountPoints)
public ApiHealthSummary getHealthSummary()
public void setHealthSummary(ApiHealthSummary healthSummary)
public List<ApiHealthCheck> getHealthChecks()
public void setHealthChecks(List<ApiHealthCheck> healthChecks)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |