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: 
 registerSubscriber(InternalSubscriber) 
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
(v7.6.3#76005)

Reply via email to