java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.SubClusterId
org.apache.hadoop.yarn.server.federation.store.records.impl.pb.SubClusterIdPBImpl
All Implemented Interfaces:
Comparable<SubClusterId>

@Private @Unstable public class SubClusterIdPBImpl extends SubClusterId
Protocol buffer based implementation of SubClusterId.
  • Constructor Details

    • SubClusterIdPBImpl

      public SubClusterIdPBImpl()
    • SubClusterIdPBImpl

      public SubClusterIdPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterIdProto proto)
  • Method Details

    • getProto

      public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterIdProto getProto()
    • getId

      public String getId()
      Description copied from class: SubClusterId
      Get the string identifier of the subcluster which is unique across the federated cluster. The identifier is static, i.e. preserved across restarts and failover.
      Specified by:
      getId in class SubClusterId
      Returns:
      unique identifier of the subcluster
    • setId

      protected void setId(String subClusterId)
      Description copied from class: SubClusterId
      Set the string identifier of the subcluster which is unique across the federated cluster. The identifier is static, i.e. preserved across restarts and failover.
      Specified by:
      setId in class SubClusterId
      Parameters:
      subClusterId - unique identifier of the subcluster