[
https://issues.apache.org/jira/browse/IGNITE-1894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15006603#comment-15006603
]
ASF GitHub Bot commented on IGNITE-1894:
----------------------------------------
GitHub user ptupitsyn opened a pull request:
https://github.com/apache/ignite/pull/237
IGNITE-1894 .Net: Delegate support in the API via extension methods
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ptupitsyn/ignite ignite-1894
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/237.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #237
----
commit e167b30ca643ca57cfcc1bab2ff31b35ab2ce120
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T12:52:05Z
IGNITE-1910 .Net: Possible handle leak in ScanQuery
commit fab5c723dc9d8926ed88f52af9d047de63afa31f
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T13:26:52Z
Fix predicate close in Java
commit 745907c43f1a1572f48db7b1543a0e7ac1218503
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T13:46:03Z
IGNITE-1894 .Net: Delegate support in the API via extension methods
commit 1fe07ce6938e3c827e77e4e38d0920b2ce6f1f35
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T13:47:55Z
wip
commit 7cb1ac7a405b8c392713eb9677f240ccfc0592cf
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T13:51:10Z
Cache test
commit ce02e7a82cb46e9b982c0611a974a75429b8bdb1
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T13:53:35Z
Fix naming
commit 1eeea6efaae36a63ec14dec746ad1390904e78bf
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T13:55:13Z
Merge branch 'ignite-1910' into ignite-1894
commit 12855ae61c25ec8972af155970120d330ed04bbb
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T14:10:17Z
Fix similar issue in CacheStore
commit 75f1315f869415e2e852e3a1f7514441ff44e572
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T14:13:42Z
Merge branch 'ignite-1910' into ignite-1894
commit ccfc3eabb730239eed2c5973fd6a271623f0c683
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T14:40:33Z
Failing test added
commit 4ce90965153dcdba40cf59d394cd8e7ffec25d7b
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T14:44:42Z
wip
commit 54e41fb452d1eedb52aeb6c1cfb03017a4dcb4b8
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T15:12:04Z
wip
commit 51a72ecc6a530dcee0e7b198f8ff6c7bbde48101
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T15:12:58Z
wip
commit 54f2f9aeb6a67d8332dfbccbd5c63c34ae3368b4
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T15:17:19Z
wip
commit 225ca15089d81a29bd5281b8634f5c29674b114c
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T15:35:49Z
wip
commit 9eb949908ad989e8d40d41be15274ce04c53ca0b
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T15:49:29Z
Fix test
commit b18710311ea5ea9b1b19a0214ae746da9f501d4d
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-13T16:06:53Z
Get rid of boxing
commit 7f8d2f1574b3bd8b5a76e141c85eb6e603abbd09
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-16T09:37:35Z
Merge ContinuousQuery fix (IGNITE-1912)
commit ed81d5afbf63b0841e47aafec4974c3996be7f22
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-16T09:54:00Z
wip ruleset
commit 2cca96852f77e1e25d1b215a0c04f375b0048e41
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-16T10:01:25Z
ComputeExtensions added
commit 1445e974ca29bf1631107a45b9847ce6c87a29b5
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-16T10:05:14Z
Fixing tests
commit d277388dfe94c302f25034c8319d9c240a817088
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-16T10:09:50Z
Fix naming
commit 31e001010ee4352ef5913fd3c1619789a599d358
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-16T10:17:38Z
IGNITE-1921 .Net: Handle leak during ComputeJobHolder serialization
commit 989d2d9e617d4e0f1aa5dc59feddb8001ea64513
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-16T10:28:27Z
Fix ComputeTaskHolder
commit 89a068b37c026c3045e6e9bd4670ff96ef242a22
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-16T10:40:44Z
Add tests
commit 50ca9bf3a9a4cccd20a9911068eb36b8a680d002
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-16T10:42:31Z
wip
commit 0c43d1def75c2548d8e262436cc0ca231b4f3714
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-16T10:46:07Z
Merge ignite-1921 leak fix
commit 11db2760d0cfff21a29ee4d3628331f7b817d5e5
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-16T11:00:08Z
Events extensions
commit 8cdf0d593f63423c68d3ce5b702a1d26556b554b
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-16T11:07:26Z
Events extensions test
commit 84a43e6da9ca617dce5a87ebb8630d7131d420e4
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-16T11:09:47Z
MessagingExtensions
----
> .Net: Delegate support in the API via extension methods
> -------------------------------------------------------
>
> Key: IGNITE-1894
> URL: https://issues.apache.org/jira/browse/IGNITE-1894
> Project: Ignite
> Issue Type: Improvement
> Components: interop
> Affects Versions: 1.1.4
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Fix For: 1.6
>
>
> In many places we require a single-method interface implementation from the
> user:
> {code:title=ICompute}
> TRes Call<TRes>(IComputeFunc<TRes> clo);
> {code}
> All of these can be extended to accept a delegate:
> {code:title=ICompute}
> TRes Call<TRes>(Func<TRes> clo);
> {code}
> We can't replace interfaces with delegates completely (which is desirable),
> because it will take away serialization control from the user. So the
> interface approach has to stay as a primary.
> Delegate support can be added via extension methods, which wrap provided
> delegates into a class that implements corresponding interface.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)