ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [1/5] ignite git commit: IGNITE-4628 Add Java callback support for platform plugins - fix callback signature
Date Wed, 22 Feb 2017 11:49:02 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-4705 f81e774b9 -> 00de323df


IGNITE-4628 Add Java callback support for platform plugins - fix callback signature


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/f55370b4
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/f55370b4
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/f55370b4

Branch: refs/heads/ignite-4705
Commit: f55370b4fc8b41665a068263b84d53cf2540c30c
Parents: e1d8224
Author: Pavel Tupitsyn <ptupitsyn@apache.org>
Authored: Mon Feb 20 18:31:44 2017 +0300
Committer: Pavel Tupitsyn <ptupitsyn@apache.org>
Committed: Mon Feb 20 18:31:44 2017 +0300

----------------------------------------------------------------------
 .../processors/platform/callback/PlatformCallbackGateway.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/f55370b4/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/callback/PlatformCallbackGateway.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/callback/PlatformCallbackGateway.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/callback/PlatformCallbackGateway.java
index aee14d7..f195c02 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/callback/PlatformCallbackGateway.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/callback/PlatformCallbackGateway.java
@@ -1230,14 +1230,14 @@ public class PlatformCallbackGateway {
      * @param outMem Out memory (Java writes, platform reads).
      * @param inMem In memory (platform writes, Java reads).
      */
-    public void pluginCallback(long callbackId, PlatformMemory outMem, PlatformMemory inMem)
{
+    public long pluginCallback(long callbackId, PlatformMemory outMem, PlatformMemory inMem)
{
         enter();
 
         try {
             long outPtr = outMem == null ? 0 : outMem.pointer();
             long inPtr = inMem == null ? 0 : inMem.pointer();
 
-            PlatformCallbackUtils.inLongLongLongObjectOutLong(envPtr,
+            return PlatformCallbackUtils.inLongLongLongObjectOutLong(envPtr,
                     PlatformCallbackOp.PluginCallbackInLongLongOutLong, callbackId, outPtr,
inPtr, null);
         }
         finally {


Mime
View raw message