[ 
https://issues.apache.org/jira/browse/IGNITE-10182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Mashenkov updated IGNITE-10182:
--------------------------------------
    Ignite Flags:   (was: Docs Required)

> Generalize GridInternalSubscriptionProcessor.
> ---------------------------------------------
>
>                 Key: IGNITE-10182
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10182
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Andrew Mashenkov
>            Priority: Minor
>              Labels: refactoring
>
> 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