jiajunwang commented on a change in pull request #827: Add intermediate storage 
for customized state
URL: https://github.com/apache/helix/pull/827#discussion_r385966866
 
 

 ##########
 File path: 
helix-core/src/main/java/org/apache/helix/common/caches/AbstractDataCache.java
 ##########
 @@ -104,6 +113,157 @@ public AbstractDataCache(ControlContextProvider 
controlContextProvider) {
     return refreshedPropertyMap;
   }
 
+
+  /**
+   * This refreshes the participant state cache data by re-fetching the data 
from zookeeper in an efficient way
+   *
+   * @param accessor
+   * @param liveInstanceMap map of all liveInstances in cluster
+   *
+   * @return
+   */
+  public boolean refreshParticipantStatesCache(HelixDataAccessor accessor,
 
 Review comment:
   You can keep the original name refresh() so it fits the style.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to