Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12773

Reduce number of cluster deactivation methods in internal API.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8
    • 2.9
    • 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
          ) 
      

      Attachments

        Activity

          People

            vladsz83 Vladimir Steshin
            vladsz83 Vladimir Steshin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 40m
                2h 40m