@Private @Unstable public class AddReservationHomeSubClusterResponsePBImpl extends AddReservationHomeSubClusterResponse
AddReservationHomeSubClusterResponse.| Constructor | Description |
|---|---|
AddReservationHomeSubClusterResponsePBImpl() |
|
AddReservationHomeSubClusterResponsePBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.AddReservationHomeSubClusterResponseProto proto) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.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.
|
java.lang.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-clusterpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.