Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-3584

Refactor ServerLauncher and LocatorLauncher to eliminate code duplication

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.0
    • None
    • gfsh
    • None

    Description

      There is some duplication of code in the Launcher classes that can be eliminated. Both classes have methods such as getBindAddress (called getServerBindAddress in ServerLauncher) that could be hoisted into AbstractLauncher class that they both extend. The same goes for the inner State classes of the Launchers; they have methods that could be moved to AbstractLauncher.ServiceState.

      Attachments

        1. GEODE-3584-WIP
          74 kB
          Cyrille Artho
        2. GEODE-3584-WIP-2
          148 kB
          Cyrille Artho
        3. GEODE-3584-WIP-3
          176 kB
          Cyrille Artho
        4. GEODE-3584-WIP-4
          152 kB
          Cyrille Artho
        5. GEODE-3584-1
          152 kB
          Cyrille Artho

        Activity

          People

            Unassigned Unassigned
            khowe Ken Howe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h