ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yakov Zhdanov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (IGNITE-216) rework future adapter
Date Mon, 09 Mar 2015 20:58:39 GMT

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

Yakov Zhdanov closed IGNITE-216.
--------------------------------

> rework future adapter
> ---------------------
>
>                 Key: IGNITE-216
>                 URL: https://issues.apache.org/jira/browse/IGNITE-216
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Yakov Zhdanov
>            Assignee: Yakov Zhdanov
>
> 1. Rename listenAsync(lsnr) -> listen(lsnr)
> 1.1 Async listening may be implemented inside listener itself - handling logic will be
submitted to some pool. Convenience adapters may be added.
> 1.2 Async chaining may be implemented in the same way.
> 1.3 Java8 returns futures from "listening" methods that get done when listener completes.
I don's think we should implement it now. Let's postpone it.
> 2. we can remove context - it will not be used in future any more
> 3. remove boolean fields that manage async settings
> 4. remove validity check + externalizable
> 5. remove listeners collection, but have 1 listener and chain them if needed. I suspect
in 99% of cases we have only 1 listener.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message