You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrew Mashenkov (JIRA)" <ji...@apache.org> on 2018/11/08 10:13:00 UTC
[jira] [Created] (IGNITE-10182) Generalize
GridInternalSubscriptionProcessor.
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)