@InterfaceAudience.Private @InterfaceStability.Unstable public class ReservationHomeSubClusterPBImpl extends ReservationHomeSubCluster
ReservationHomeSubCluster.| Constructor and Description |
|---|
ReservationHomeSubClusterPBImpl() |
ReservationHomeSubClusterPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.ReservationHomeSubClusterProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
SubClusterId |
getHomeSubCluster()
Get the
SubClusterId representing the unique identifier of the home
subcluster in which the reservation is mapped to. |
org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.ReservationHomeSubClusterProto |
getProto() |
org.apache.hadoop.yarn.api.records.ReservationId |
getReservationId()
Get the
ReservationId representing the unique identifier of the
Reservation. |
int |
hashCode() |
void |
setHomeSubCluster(SubClusterId subClusterId)
Set the
SubClusterId representing the unique identifier of the home
subcluster in which the ReservationMaster of the reservation is running. |
void |
setReservationId(org.apache.hadoop.yarn.api.records.ReservationId resId)
Set the
ReservationId representing the unique identifier of the
Reservation. |
String |
toString() |
newInstancepublic ReservationHomeSubClusterPBImpl()
public ReservationHomeSubClusterPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.ReservationHomeSubClusterProto proto)
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.ReservationHomeSubClusterProto getProto()
public int hashCode()
hashCode in class ReservationHomeSubClusterpublic boolean equals(Object other)
equals in class ReservationHomeSubClusterpublic String toString()
toString in class ReservationHomeSubClusterpublic org.apache.hadoop.yarn.api.records.ReservationId getReservationId()
ReservationHomeSubClusterReservationId representing the unique identifier of the
Reservation.getReservationId in class ReservationHomeSubClusterpublic void setReservationId(org.apache.hadoop.yarn.api.records.ReservationId resId)
ReservationHomeSubClusterReservationId representing the unique identifier of the
Reservation.setReservationId in class ReservationHomeSubClusterresId - the reservation identifierpublic SubClusterId getHomeSubCluster()
ReservationHomeSubClusterSubClusterId representing the unique identifier of the home
subcluster in which the reservation is mapped to.getHomeSubCluster in class ReservationHomeSubClusterpublic void setHomeSubCluster(SubClusterId subClusterId)
ReservationHomeSubClusterSubClusterId representing the unique identifier of the home
subcluster in which the ReservationMaster of the reservation is running.setHomeSubCluster in class ReservationHomeSubClustersubClusterId - the home subcluster identifierCopyright © 2008–2024 Apache Software Foundation. All rights reserved.