[ 
https://issues.apache.org/jira/browse/IGNITE-12773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Steshin updated IGNITE-12773:
--------------------------------------
    Ignite Flags:   (was: Docs Required,Release Notes Required)

> 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
>            Priority: Minor
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> To reduce number of cluster deactivation methods in internal API we might:
> {code:java}
> 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
>     ) 
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to