@InterfaceAudience.Private @InterfaceStability.Unstable public class SubClusterInfoPBImpl extends SubClusterInfo
SubClusterInfo.| Constructor and Description |
|---|
SubClusterInfoPBImpl() |
SubClusterInfoPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterInfoProto proto) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAMRMServiceAddress()
Get the URL of the AM-RM service endpoint of the subcluster
ResourceManager. |
String |
getCapability()
Get the current capacity and utilization of the subcluster.
|
String |
getClientRMServiceAddress()
Get the URL of the client-RM service endpoint of the subcluster
ResourceManager. |
long |
getLastHeartBeat()
Get the last heart beat time of the subcluster.
|
long |
getLastStartTime()
Get the timestamp representing the last start time of the subcluster.
|
org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterInfoProto |
getProto() |
String |
getRMAdminServiceAddress()
Get the URL of the
ResourceManager administration service. |
String |
getRMWebServiceAddress()
Get the URL of the
ResourceManager web application interface. |
SubClusterState |
getState()
Get the
SubClusterState of the subcluster. |
SubClusterId |
getSubClusterId()
Get the
SubClusterId representing the unique identifier of the
subcluster. |
void |
setAMRMServiceAddress(String amRMServiceAddress)
Set the URL of the AM-RM service endpoint of the subcluster
ResourceManager. |
void |
setCapability(String capability)
Set the current capacity and utilization of the subCluster.
|
void |
setClientRMServiceAddress(String clientRMServiceAddress)
Set the URL of the client-RM service endpoint of the subcluster
ResourceManager. |
void |
setLastHeartBeat(long time)
Set the last heartbeat time of the subcluster.
|
void |
setLastStartTime(long lastStartTime)
Set the timestamp representing the last start time of the subcluster.
|
void |
setRMAdminServiceAddress(String rmAdminServiceAddress)
Set the URL of the
ResourceManager administration service. |
void |
setRMWebServiceAddress(String rmWebServiceAddress)
Set the URL of the
ResourceManager web application interface. |
void |
setState(SubClusterState state)
Set the
SubClusterState of the subcluster. |
void |
setSubClusterId(SubClusterId subClusterId)
Set the
SubClusterId representing the unique identifier of the
subCluster. |
String |
toString() |
equals, hashCode, newInstance, newInstance, newInstancepublic SubClusterInfoPBImpl()
public SubClusterInfoPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterInfoProto proto)
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterInfoProto getProto()
public String toString()
toString in class SubClusterInfopublic SubClusterId getSubClusterId()
SubClusterInfoSubClusterId representing the unique identifier of the
subcluster.getSubClusterId in class SubClusterInfopublic void setSubClusterId(SubClusterId subClusterId)
SubClusterInfoSubClusterId representing the unique identifier of the
subCluster.setSubClusterId in class SubClusterInfosubClusterId - the subCluster identifierpublic String getAMRMServiceAddress()
SubClusterInfoResourceManager.getAMRMServiceAddress in class SubClusterInfoResourceManagerpublic void setAMRMServiceAddress(String amRMServiceAddress)
SubClusterInfoResourceManager.setAMRMServiceAddress in class SubClusterInfoamRMServiceAddress - the URL of the AM-RM service endpoint of the
subcluster ResourceManagerpublic String getClientRMServiceAddress()
SubClusterInfoResourceManager.getClientRMServiceAddress in class SubClusterInfoResourceManagerpublic void setClientRMServiceAddress(String clientRMServiceAddress)
SubClusterInfoResourceManager.setClientRMServiceAddress in class SubClusterInfoclientRMServiceAddress - the URL of the client-RM service endpoint of
the subCluster ResourceManagerpublic String getRMAdminServiceAddress()
SubClusterInfoResourceManager administration service.getRMAdminServiceAddress in class SubClusterInfoResourceManager administration servicepublic void setRMAdminServiceAddress(String rmAdminServiceAddress)
SubClusterInfoResourceManager administration service.setRMAdminServiceAddress in class SubClusterInformAdminServiceAddress - the URL of the ResourceManager
administration service.public String getRMWebServiceAddress()
SubClusterInfoResourceManager web application interface.getRMWebServiceAddress in class SubClusterInfoResourceManager web application
interface.public void setRMWebServiceAddress(String rmWebServiceAddress)
SubClusterInfoResourceManager web application interface.setRMWebServiceAddress in class SubClusterInformWebServiceAddress - the URL of the ResourceManager web
application interface.public long getLastHeartBeat()
SubClusterInfogetLastHeartBeat in class SubClusterInfopublic void setLastHeartBeat(long time)
SubClusterInfosetLastHeartBeat in class SubClusterInfotime - the last heartbeat time of the subclusterpublic SubClusterState getState()
SubClusterInfoSubClusterState of the subcluster.getState in class SubClusterInfopublic void setState(SubClusterState state)
SubClusterInfoSubClusterState of the subcluster.setState in class SubClusterInfostate - the state of the subClusterpublic long getLastStartTime()
SubClusterInfogetLastStartTime in class SubClusterInfopublic void setLastStartTime(long lastStartTime)
SubClusterInfosetLastStartTime in class SubClusterInfolastStartTime - the timestamp representing the last start time of the
subclusterpublic String getCapability()
SubClusterInfoClusterMetrics.getCapability in class SubClusterInfopublic void setCapability(String capability)
SubClusterInfoClusterMetrics.setCapability in class SubClusterInfocapability - the current capacity and utilization of the subclusterCopyright © 2008–2024 Apache Software Foundation. All rights reserved.