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 2017/07/25 10:33:00 UTC

[jira] [Comment Edited] (IGNITE-5769) Abstract away .NET->Java calls

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

Pavel Tupitsyn edited comment on IGNITE-5769 at 7/25/17 10:32 AM:
------------------------------------------------------------------

{{IPlatformTarget}} looks like a good abstraction point. We can refactor the code to interact with Java solely via {{IPlatformTarget}}, and provide multiple implementations (for JNI and RPC).

* Split {{PlatformTarget}} into {{PlatformTargetAdapter}} (to inherit from) and {{PlatformJniTarget}} (which implements {{IPlatformTarget}})
* {{PlatformTargetAdapter}} takes {{IPlatformTarget}} in constructor instead of {{IUnmanagedTarget}}


was (Author: ptupitsyn):
{{IPlatformTarget}} looks like a good abstraction point. We can refactor the code to interact with Java solely via {{IPlatformTarget}}, and provide multiple implementations (for JNI and RPC).

> Abstract away .NET->Java calls
> ------------------------------
>
>                 Key: IGNITE-5769
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5769
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: platforms
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>              Labels: .NET
>
> All JNI interaction goes through static {{UnmanagedUtils}} calls. This should be refactored so that unmanaged call mechanism can be replaced with something else for each particular node.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)