You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dan Smith (JIRA)" <ji...@apache.org> on 2016/01/19 18:21:39 UTC

[jira] [Updated] (GEODE-641) Allow lambda expressions to be used for Geode functions

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

Dan Smith updated GEODE-641:
----------------------------
    Labels: starter  (was: )

> Allow lambda expressions to be used for Geode functions
> -------------------------------------------------------
>
>                 Key: GEODE-641
>                 URL: https://issues.apache.org/jira/browse/GEODE-641
>             Project: Geode
>          Issue Type: Improvement
>          Components: functions
>            Reporter: Dan Smith
>            Assignee: Dan Smith
>              Labels: starter
>
> Geode currently has a Function interface, as well as a FunctionAdapter abstract class that provides default implementations for most of those methods.
> Unfortunately, because Function has multiple methods, lambda expressions cannot be used to define functions.
> FunctionAdapter should be deprecated and default values should be provided for all of the methods on Function except for the execute method.
> The getId function can probably just default to the class name.



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