ReservationHomeSubClusterPBImpl@Private
@Unstable
public abstract class ReservationHomeSubCluster
extends java.lang.Object
ReservationHomeSubCluster is a report of the runtime information of the reservation that is running in the federated cluster.
It includes information such as:
ReservationIdSubClusterId| Constructor | Description |
|---|---|
ReservationHomeSubCluster() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.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. |
java.lang.String |
toString() |
@Private @Unstable public static ReservationHomeSubCluster newInstance(org.apache.hadoop.yarn.api.records.ReservationId resId, SubClusterId homeSubCluster)
@Public @Unstable public abstract org.apache.hadoop.yarn.api.records.ReservationId getReservationId()
ReservationId representing the unique identifier of the
Reservation.@Private @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@Public @Unstable public abstract SubClusterId getHomeSubCluster()
SubClusterId representing the unique identifier of the home
subcluster in which the reservation is mapped to.@Private @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 identifierpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.