ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-1412) .Net: Pass local entry processor pointer to Java.
Date Fri, 11 Sep 2015 12:43:46 GMT
Vladimir Ozerov created IGNITE-1412:

             Summary: .Net: Pass local entry processor pointer to Java.
                 Key: IGNITE-1412
                 URL: https://issues.apache.org/jira/browse/IGNITE-1412
             Project: Ignite
          Issue Type: Task
          Components: interop
    Affects Versions: 1.1.4
            Reporter: Vladimir Ozerov
             Fix For: ignite-1.5

Currently we always serialize .Net entry processor and pass only serialized bytes to Java.

If processor is to be executed locally, then we pass the same bytes back and deserialize them
Instead, we can do the following:
1) Serialize entry processor.
2) Allocate handle for it.
3) Pass bytes and handle to Java.
4) In case of local execution, just return back the handle.
5) Once execution is finished, handle can be safely released in "finally" block.

This can be easily implemented only for synchronous entry processing. 

For async mode there is no try/finally. We could release the handle during feature completion,
but the problem is that there is no guarantee tha user will ever request this feature.

This message was sent by Atlassian JIRA

View raw message