@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class AddApplicationHomeSubClusterResponse extends Object
FederationApplicationHomeSubClusterStore to a request to insert a
newly generated applicationId and its owner.
The response contains application's home sub-cluster as it is stored in the
FederationApplicationHomeSubClusterStore. If a mapping for the
application already existed, the SubClusterId in this response will
return the existing mapping which might be different from that in the
AddApplicationHomeSubClusterRequest.| Constructor and Description |
|---|
AddApplicationHomeSubClusterResponse() |
| Modifier and Type | Method and Description |
|---|---|
abstract SubClusterId |
getHomeSubCluster()
Get the home sub-cluster that this application has been assigned to.
|
static AddApplicationHomeSubClusterResponse |
newInstance(SubClusterId homeSubCluster) |
abstract void |
setHomeSubCluster(SubClusterId homeSubCluster)
Set the home sub-cluster that this application has been assigned to.
|
public AddApplicationHomeSubClusterResponse()
@InterfaceAudience.Private @InterfaceStability.Unstable public static AddApplicationHomeSubClusterResponse newInstance(SubClusterId homeSubCluster)
public abstract void setHomeSubCluster(SubClusterId homeSubCluster)
homeSubCluster - the SubClusterId of this application's home
sub-clusterpublic abstract SubClusterId getHomeSubCluster()
SubClusterId in the corresponding response, if
the mapping for the request's application already existed.SubClusterId of this application's home sub-clusterCopyright © 2008–2023 Apache Software Foundation. All rights reserved.