Class AddApplicationHomeSubClusterRequest
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.AddApplicationHomeSubClusterRequest
- Direct Known Subclasses:
AddApplicationHomeSubClusterRequestPBImpl
The request sent by the Router to Federation state
store to map the home subcluster of a newly submitted application.
The request includes the mapping details, i.e.:
ApplicationIdSubClusterId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ApplicationHomeSubClusterGet theApplicationHomeSubClusterrepresenting the mapping of the application to it's home sub-cluster.newInstance(ApplicationHomeSubCluster applicationHomeSubCluster) abstract voidsetApplicationHomeSubCluster(ApplicationHomeSubCluster applicationHomeSubCluster) Set theApplicationHomeSubClusterrepresenting the mapping of the application to it's home sub-cluster.
-
Constructor Details
-
AddApplicationHomeSubClusterRequest
public AddApplicationHomeSubClusterRequest()
-
-
Method Details
-
newInstance
@Private @Unstable public static AddApplicationHomeSubClusterRequest newInstance(ApplicationHomeSubCluster applicationHomeSubCluster) -
getApplicationHomeSubCluster
Get theApplicationHomeSubClusterrepresenting the mapping of the application to it's home sub-cluster.- Returns:
- the mapping of the application to it's home sub-cluster.
-
setApplicationHomeSubCluster
@Private @Unstable public abstract void setApplicationHomeSubCluster(ApplicationHomeSubCluster applicationHomeSubCluster) Set theApplicationHomeSubClusterrepresenting the mapping of the application to it's home sub-cluster.- Parameters:
applicationHomeSubCluster- the mapping of the application to it's home sub-cluster.
-