@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() |
newInstance
public 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)
AddReservationHomeSubClusterResponse
setHomeSubCluster
in class AddReservationHomeSubClusterResponse
homeSubCluster
- the SubClusterId
of this reservation's home
sub-clusterpublic SubClusterId getHomeSubCluster()
AddReservationHomeSubClusterResponse
SubClusterId
in the corresponding response, if
the mapping for the request's reservation already existed.getHomeSubCluster
in class AddReservationHomeSubClusterResponse
SubClusterId
of this reservation's home sub-clusterCopyright © 2008–2024 Apache Software Foundation. All rights reserved.