You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Dan Smith (JIRA)" <ji...@apache.org> on 2016/12/15 21:37:58 UTC
[jira] [Closed] (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 closed GEODE-641.
---------------------------
> 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: docs, functions
> Reporter: Dan Smith
> Assignee: Dan Smith
> Labels: starter
> Fix For: 1.0.0-incubating
>
>
> 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)