cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Jake Luciani (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8168) Require Java 8
Date Wed, 22 Oct 2014 20:54:35 GMT

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

T Jake Luciani commented on CASSANDRA-8168:
-------------------------------------------

Here is a nice example of building chained async methods in java 8 http://blog.jooq.org/2014/09/23/asynchronous-sql-execution-with-jooq-and-java-8s-completablefuture/

We can get the same functionality with java listenable futures but so this is probably not
a strong enough reason. but it's certainly easier to grock

> Require Java 8
> --------------
>
>                 Key: CASSANDRA-8168
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8168
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: T Jake Luciani
>             Fix For: 3.0
>
>
> This is to discuss requiring Java 8 for version >= 3.0  
> There are a couple big reasons for this.
> * Better support for complex async work  e.g (CASSANDRA-5239)    http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html
> * Use Nashorn for Javascript UDFs CASSANDRA-7395



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

Mime
View raw message