geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Baker (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (GEODE-832) Allow lambda expressions to be passed to dunit VM.invoke calls
Date Tue, 12 Apr 2016 05:59:42 GMT

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

Anthony Baker closed GEODE-832.
-------------------------------

> Allow lambda expressions to be passed to dunit VM.invoke calls
> --------------------------------------------------------------
>
>                 Key: GEODE-832
>                 URL: https://issues.apache.org/jira/browse/GEODE-832
>             Project: Geode
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Dan Smith
>            Assignee: Dan Smith
>             Fix For: 1.0.0-incubating.M2
>
>
> The dunit framework has a VM class with invoke and invokeAsync methods that take Runnable
and Callable objects. 
> It would be nice to use lambda expressions with VM.invoke, but the generated lambda is
not serializable. We should create a new interface, SerializableRunnable/Callable, so that
a lambda will be created implementing Serializable.



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

Mime
View raw message