@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class ReservationHomeSubCluster extends Object
ReservationHomeSubCluster is a report of the runtime information of the reservation that is running in the federated cluster.
It includes information such as:
ReservationId
SubClusterId
Constructor and Description |
---|
ReservationHomeSubCluster() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
abstract SubClusterId |
getHomeSubCluster()
Get the
SubClusterId representing the unique identifier of the home
subcluster in which the reservation is mapped to. |
abstract org.apache.hadoop.yarn.api.records.ReservationId |
getReservationId()
Get the
ReservationId representing the unique identifier of the
Reservation. |
int |
hashCode() |
static ReservationHomeSubCluster |
newInstance(org.apache.hadoop.yarn.api.records.ReservationId resId,
SubClusterId homeSubCluster) |
abstract void |
setHomeSubCluster(SubClusterId subClusterId)
Set the
SubClusterId representing the unique identifier of the home
subcluster in which the ReservationMaster of the reservation is running. |
abstract void |
setReservationId(org.apache.hadoop.yarn.api.records.ReservationId resId)
Set the
ReservationId representing the unique identifier of the
Reservation. |
String |
toString() |
@InterfaceAudience.Private @InterfaceStability.Unstable public static ReservationHomeSubCluster newInstance(org.apache.hadoop.yarn.api.records.ReservationId resId, SubClusterId homeSubCluster)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract org.apache.hadoop.yarn.api.records.ReservationId getReservationId()
ReservationId
representing the unique identifier of the
Reservation.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setReservationId(org.apache.hadoop.yarn.api.records.ReservationId resId)
ReservationId
representing the unique identifier of the
Reservation.resId
- the reservation identifier@InterfaceAudience.Public @InterfaceStability.Unstable public abstract SubClusterId getHomeSubCluster()
SubClusterId
representing the unique identifier of the home
subcluster in which the reservation is mapped to.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setHomeSubCluster(SubClusterId subClusterId)
SubClusterId
representing the unique identifier of the home
subcluster in which the ReservationMaster of the reservation is running.subClusterId
- the home subcluster identifierCopyright © 2008–2024 Apache Software Foundation. All rights reserved.