You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2016/10/27 10:02:58 UTC

[jira] [Comment Edited] (IGNITE-4027) Extract PlatformTargetProxy interface

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

Pavel Tupitsyn edited comment on IGNITE-4027 at 10/27/16 10:02 AM:
-------------------------------------------------------------------

* PlatformTargetProxy interface extracted from PlatformTarget, this interface is called from JNI and delegates the calls to "nice" PlatformTarget methids
* All JNI calls refactored to operate on PlatformTargetProxy instead of Object
* PlatformAsyncTarget interface extracted to support legacy async scenario
* Listenable refactored to PlatformTarget instead of dedicated JNI calls

TC looks good


was (Author: ptupitsyn):
* PlatformTargetProxy interface extracted from PlatformTarget, this interface is called from JNI and delegates the calls to "nice" PlatformTarget methids
* All JNI calls refactored to operate on PlatformTargetProxy instead of Object
* PlatformAsyncTarget interface extracted to support legacy async scenario
* Listenable refactored to PlatformTarget instead of dedicated JNI calls

> Extract PlatformTargetProxy interface
> -------------------------------------
>
>                 Key: IGNITE-4027
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4027
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: platforms
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>              Labels: .NET
>             Fix For: 1.8
>
>
> PlatformTarget interface contains methods that are called from JNI. These methods operate on internal things like memory pointers.
> PlatformAbstractTarget creates streams & readers and calls paired protected methods.
> We need to separate the part with streams/readers from the part with pointers via an additional interface:
> * PlatformTargetProxy will be invoked from JNI
> * PlatformTarget will contain only "nice" methods and will be invoked by PlatformTargetProxy implementation



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