@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class SubClusterDeregisterRequest extends Object
The request sent to set the state of a subcluster to either SC_DECOMMISSIONED, SC_LOST, or SC_DEREGISTERED.
The update includes details such as:
Constructor and Description |
---|
SubClusterDeregisterRequest() |
Modifier and Type | Method and Description |
---|---|
abstract SubClusterState |
getState()
Get the
SubClusterState of the subcluster. |
abstract SubClusterId |
getSubClusterId()
Get the
SubClusterId representing the unique identifier of the
subcluster. |
static SubClusterDeregisterRequest |
newInstance(SubClusterId subClusterId,
SubClusterState subClusterState) |
abstract void |
setState(SubClusterState state)
Set the
SubClusterState of the subcluster. |
abstract void |
setSubClusterId(SubClusterId subClusterId)
Set the
SubClusterId representing the unique identifier of the
subcluster. |
@InterfaceAudience.Private @InterfaceStability.Unstable public static SubClusterDeregisterRequest newInstance(SubClusterId subClusterId, SubClusterState subClusterState)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract SubClusterId getSubClusterId()
SubClusterId
representing the unique identifier of the
subcluster.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setSubClusterId(SubClusterId subClusterId)
SubClusterId
representing the unique identifier of the
subcluster.subClusterId
- the subcluster identifier@InterfaceAudience.Public @InterfaceStability.Unstable public abstract SubClusterState getState()
SubClusterState
of the subcluster.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setState(SubClusterState state)
SubClusterState
of the subcluster.state
- the state of the subClusterCopyright © 2008–2022 Apache Software Foundation. All rights reserved.