@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() |
newInstance
public 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 ReservationHomeSubCluster
public boolean equals(Object other)
equals
in class ReservationHomeSubCluster
public String toString()
toString
in class ReservationHomeSubCluster
public org.apache.hadoop.yarn.api.records.ReservationId getReservationId()
ReservationHomeSubCluster
ReservationId
representing the unique identifier of the
Reservation.getReservationId
in class ReservationHomeSubCluster
public void setReservationId(org.apache.hadoop.yarn.api.records.ReservationId resId)
ReservationHomeSubCluster
ReservationId
representing the unique identifier of the
Reservation.setReservationId
in class ReservationHomeSubCluster
resId
- the reservation identifierpublic SubClusterId getHomeSubCluster()
ReservationHomeSubCluster
SubClusterId
representing the unique identifier of the home
subcluster in which the reservation is mapped to.getHomeSubCluster
in class ReservationHomeSubCluster
public void setHomeSubCluster(SubClusterId subClusterId)
ReservationHomeSubCluster
SubClusterId
representing the unique identifier of the home
subcluster in which the ReservationMaster of the reservation is running.setHomeSubCluster
in class ReservationHomeSubCluster
subClusterId
- the home subcluster identifierCopyright © 2008–2024 Apache Software Foundation. All rights reserved.