You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by "Hunter L (JIRA)" <ji...@apache.org> on 2018/07/10 01:40:00 UTC
[jira] [Created] (HELIX-724) Refactor AssignableInstanceManager
Hunter L created HELIX-724:
------------------------------
Summary: Refactor AssignableInstanceManager
Key: HELIX-724
URL: https://issues.apache.org/jira/browse/HELIX-724
Project: Apache Helix
Issue Type: Improvement
Reporter: Hunter L
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()
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)