ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [18/50] [abbrv] incubator-ignite git commit: #ignite-743: fix marshalling.
Date Fri, 17 Apr 2015 14:36:22 GMT
#ignite-743: fix marshalling.


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

Branch: refs/heads/ignite-755
Commit: 8f8119e1573f93e667b04fade5d4fbe758c6b74e
Parents: dbcb60a
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Wed Apr 15 11:51:48 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Wed Apr 15 11:51:48 2015 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/cache/IgniteCacheProxy.java       | 2 +-
 .../internal/processors/cache/IgniteCacheProxyLockFree.java      | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8f8119e1/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxy.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxy.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxy.java
index d72ed5a..3424c2c 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxy.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxy.java
@@ -892,7 +892,7 @@ public class IgniteCacheProxy<K, V> extends AsyncSupportAdapter<IgniteCache<K,
V
     @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
{
         lockFreeCache = (IgniteCacheProxyLockFree<K, V>)in.readObject();
 
-        prj = (GridCacheProjectionImpl<K, V>) lockFreeCache.delegate();
+        prj = lockFreeCache.projection();
 
         gate = lockFreeCache.context().gate();
     }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8f8119e1/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxyLockFree.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxyLockFree.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxyLockFree.java
index 976eeac..8811b35 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxyLockFree.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxyLockFree.java
@@ -116,6 +116,10 @@ public class IgniteCacheProxyLockFree <K, V> extends AsyncSupportAdapter<IgniteC
         return ctx;
     }
 
+    public GridCacheProjectionImpl<K,V> projection() {
+        return prj;
+    }
+
     /** {@inheritDoc} */
     @Override public CacheMetrics metrics() {
         return ctx.cache().metrics();


Mime
View raw message