ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Mashenkov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-10182) Generalize GridInternalSubscriptionProcessor.
Date Thu, 08 Nov 2018 10:13:00 GMT
Andrew Mashenkov created IGNITE-10182:

             Summary: Generalize GridInternalSubscriptionProcessor.
                 Key: IGNITE-10182
                 URL: https://issues.apache.org/jira/browse/IGNITE-10182
             Project: Ignite
          Issue Type: Improvement
            Reporter: Andrew Mashenkov

For now GridInternalSubscriptionProcessor allows 2 hardcoded types of subscribers.
Let's avoid hardcoded types usage.

Suggest to introduce marker interface InternalSubscriber, and export only next processor methods.
Register new subscriber: 
Notify all subscribers of given type with applying some closure:
 <T extends InternalSubscriber> nofitySubscribers(Class<T>, Closure<T>)

This message was sent by Atlassian JIRA

View raw message