helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhen Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HELIX-379) ClusterMessagingService#registerMessageHandlerFactory() needs refactor
Date Tue, 04 Feb 2014 21:28:11 GMT
Zhen Zhang created HELIX-379:

             Summary: ClusterMessagingService#registerMessageHandlerFactory() needs refactor
                 Key: HELIX-379
                 URL: https://issues.apache.org/jira/browse/HELIX-379
             Project: Apache Helix
          Issue Type: Improvement
            Reporter: Zhen Zhang

currently in ClusterMessagingService interface we have:
ClusterMessagingService#registerMessageHandlerFactory(String type, MessageHandlerFactory factory)

In MessageHandlerFactory, we have:

So every call to ClusterMessagingService#registerMessageHandlerFactory() becomes:

better to simply have:
ClusterMessagingService#registerMessageHandlerFactory(MessageHandlerFactory factory)

This message was sent by Atlassian JIRA

View raw message