@InterfaceAudience.Private @InterfaceStability.Unstable public class AddReservationHomeSubClusterResponsePBImpl extends AddReservationHomeSubClusterResponse
AddReservationHomeSubClusterResponse.| Constructor and Description |
|---|
AddReservationHomeSubClusterResponsePBImpl() |
AddReservationHomeSubClusterResponsePBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.AddReservationHomeSubClusterResponseProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
SubClusterId |
getHomeSubCluster()
Get the home sub-cluster that this Reservation has been assigned to.
|
org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.AddReservationHomeSubClusterResponseProto |
getProto() |
int |
hashCode() |
void |
setHomeSubCluster(SubClusterId homeSubCluster)
Set the home sub-cluster that this Reservation has been assigned to.
|
String |
toString() |
newInstancepublic AddReservationHomeSubClusterResponsePBImpl()
public AddReservationHomeSubClusterResponsePBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.AddReservationHomeSubClusterResponseProto proto)
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.AddReservationHomeSubClusterResponseProto getProto()
public void setHomeSubCluster(SubClusterId homeSubCluster)
AddReservationHomeSubClusterResponsesetHomeSubCluster in class AddReservationHomeSubClusterResponsehomeSubCluster - the SubClusterId of this reservation's home
sub-clusterpublic SubClusterId getHomeSubCluster()
AddReservationHomeSubClusterResponseSubClusterId in the corresponding response, if
the mapping for the request's reservation already existed.getHomeSubCluster in class AddReservationHomeSubClusterResponseSubClusterId of this reservation's home sub-clusterCopyright © 2008–2024 Apache Software Foundation. All rights reserved.