AddApplicationHomeSubClusterResponsePBImpl@Private
@Unstable
public abstract class AddApplicationHomeSubClusterResponse
extends java.lang.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 | Description |
|---|---|
AddApplicationHomeSubClusterResponse() |
| Modifier and Type | Method | 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()
@Private @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–2025 Apache Software Foundation. All rights reserved.