Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.8
-
None
-
None
Description
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, Collection<? extends BaselineNode> baselineNodes, boolean forceChangeBaselineTopology ) 7. Add boolean isAutoAdjust to IGridClusterStateProcessor#changeGlobalState( ClusterState state, Collection<? extends BaselineNode> baselineNodes, boolean forceChangeBaselineTopology, boolean isAutoAdjust ) 8. Add @Override to IGridClusterStateProcessor#changeGlobalState( ClusterState state, Collection<? extends BaselineNode> baselineNodes, boolean forceChangeBaselineTopology, boolean isAutoAdjust ) 9. Remove, combine with #8: IGridClusterStateProcessor#changeGlobalState0( ClusterState state, BaselineTopology blt, boolean forceChangeBaselineTopology, boolean isAutoAdjust )