Vladimir Steshin created IGNITE-12773:
-----------------------------------------
Summary: Reduce number of cluster deactivation methods in internal API.
Key: IGNITE-12773
URL:
https://issues.apache.org/jira/browse/IGNITE-12773 Project: Ignite
Issue Type: Improvement
Reporter: Vladimir Steshin
Assignee: Vladimir Steshin
To reduce number of cluster deactivation methods in internal API we might:
1. Remove
GridClientClusterState#active()
2. Remove
GridClientClusterState#active(boolean active)
3. Remove
IGridClusterStateProcessor#changeGlobalState(
boolean activate,
Collection<? extends BaselineNode> baselineNodes,
boolean forceChangeBaselineTopology
)
4. Remove
GridClusterStateProcessor#changeGlobalState(
final boolean activate,
Collection<? extends BaselineNode> baselineNodes,
boolean forceChangeBaselineTopology,
boolean isAutoAdjust
)
5. Remove
GridClusterStateProcessor#changeGlobalState(
final boolean activate,
Collection<? extends BaselineNode> baselineNodes,
boolean forceChangeBaselineTopology
)
6. Remove
GridClusterStateProcessor#changeGlobalState(
ClusterState state,
boolean forceDeactivation,
Collection<? extends BaselineNode> baselineNodes,
boolean forceChangeBaselineTopology
)
7. Add boolean isAutoAdjust to
IGridClusterStateProcessor#changeGlobalState(
ClusterState state,
boolean forceDeactivation,
Collection<? extends BaselineNode> baselineNodes,
boolean forceChangeBaselineTopology,
/* here */ boolean isAutoAdjust /* here */
)
8. Add @Override to
/* here */ @Override /* here */
GridClusterStateProcessor#changeGlobalState(
ClusterState state,
boolean forceDeactivation,
Collection<? extends BaselineNode> baselineNodes,
boolean forceChangeBaselineTopology
)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)