ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Setrakyan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-216) rework future adapter
Date Tue, 10 Feb 2015 11:01:34 GMT

    [ 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)

Mime
View raw message