You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Dmitriy Setrakyan (JIRA)" <ji...@apache.org> on 2015/02/10 12:01:34 UTC

[jira] [Commented] (IGNITE-216) rework future adapter

    [ https://issues.apache.org/jira/browse/IGNITE-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14314016#comment-14314016 ] 

Dmitriy Setrakyan commented on IGNITE-216:
------------------------------------------

I suggest we also look at JDK8 CompletableFuture: https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html

> rework future adapter
> ---------------------
>
>                 Key: IGNITE-216
>                 URL: https://issues.apache.org/jira/browse/IGNITE-216
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Yakov Zhdanov
>
> 1. remove async notification - everyone can create listener that executes in async manner
> 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
> 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)