Uploaded image for project: 'Apache Helix'
  1. Apache Helix
  2. HELIX-724

Refactor AssignableInstanceManager

    XMLWordPrintableJSON

Details

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

    Description

      This RB refactors AssignableInstanceManager's constructor so that the actual building of AssignableInstances is separated into another public method. This allows the instantiation of AssignableInstanceManager in TaskDataCache without having to provide metadata for building AssignableInstances.

      ChangeList:
      1. Add an empty constructor
      2. Put build logic in a separate method
      3. A boolean flag was added for buildAssignableInstances() to prevent it from building AssignableInstance objects from scratch every time this method is called by TaskDataCache's refresh()

      Attachments

        Activity

          People

            Unassigned Unassigned
            narendly Hunter L
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: