@InterfaceAudience.Private @InterfaceStability.Unstable public class SubClusterHeartbeatRequestPBImpl extends SubClusterHeartbeatRequest
SubClusterHeartbeatRequest.| Constructor and Description | 
|---|
| SubClusterHeartbeatRequestPBImpl() | 
| SubClusterHeartbeatRequestPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterHeartbeatRequestProto proto) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object other) | 
| String | getCapability()Get the current capacity and utilization of the subcluster. | 
| long | getLastHeartBeat()Get the last heart beat time of the subcluster. | 
| org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterHeartbeatRequestProto | getProto() | 
| SubClusterState | getState()Get the  SubClusterStateof the subcluster. | 
| SubClusterId | getSubClusterId()Get the  SubClusterIdrepresenting the unique identifier of the
 subcluster. | 
| int | hashCode() | 
| void | setCapability(String capability)Set the current capacity and utilization of the subCluster. | 
| void | setLastHeartBeat(long time)Set the last heartbeat time of the subcluster. | 
| void | setState(SubClusterState state)Set the  SubClusterStateof the subcluster. | 
| void | setSubClusterId(SubClusterId subClusterId)Set the  SubClusterIdrepresenting the unique identifier of the
 subCluster. | 
| String | toString() | 
newInstance, newInstancepublic SubClusterHeartbeatRequestPBImpl()
public SubClusterHeartbeatRequestPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterHeartbeatRequestProto proto)
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterHeartbeatRequestProto getProto()
public String toString()
toString in class SubClusterHeartbeatRequestpublic SubClusterId getSubClusterId()
SubClusterHeartbeatRequestSubClusterId representing the unique identifier of the
 subcluster.getSubClusterId in class SubClusterHeartbeatRequestpublic void setSubClusterId(SubClusterId subClusterId)
SubClusterHeartbeatRequestSubClusterId representing the unique identifier of the
 subCluster.setSubClusterId in class SubClusterHeartbeatRequestsubClusterId - the subCluster identifierpublic long getLastHeartBeat()
SubClusterHeartbeatRequestgetLastHeartBeat in class SubClusterHeartbeatRequestpublic void setLastHeartBeat(long time)
SubClusterHeartbeatRequestsetLastHeartBeat in class SubClusterHeartbeatRequesttime - the last heartbeat time of the subclusterpublic SubClusterState getState()
SubClusterHeartbeatRequestSubClusterState of the subcluster.getState in class SubClusterHeartbeatRequestpublic void setState(SubClusterState state)
SubClusterHeartbeatRequestSubClusterState of the subcluster.setState in class SubClusterHeartbeatRequeststate - the state of the subClusterpublic String getCapability()
SubClusterHeartbeatRequestClusterMetrics.getCapability in class SubClusterHeartbeatRequestpublic void setCapability(String capability)
SubClusterHeartbeatRequestClusterMetrics.setCapability in class SubClusterHeartbeatRequestcapability - the current capacity and utilization of the subclusterCopyright © 2008–2023 Apache Software Foundation. All rights reserved.