[
https://issues.apache.org/jira/browse/IGNITE-4027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15611353#comment-15611353
]
Pavel Tupitsyn commented on IGNITE-4027:
----------------------------------------
* 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)