ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [20/23] incubator-ignite git commit: #ignite examples: remove GridCache Api from MemcacheRestExample.
Date Sat, 14 Feb 2015 12:22:44 GMT
#ignite examples: remove GridCache Api from MemcacheRestExample.


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

Branch: refs/heads/ignite-50
Commit: 40a95ccca0988690d192b9a2a3d9a317efb39b49
Parents: 4d01989
Author: ivasilinets <vasilinetc.ira@gmail.com>
Authored: Sat Feb 14 14:47:59 2015 +0300
Committer: ivasilinets <vasilinetc.ira@gmail.com>
Committed: Sat Feb 14 14:47:59 2015 +0300

----------------------------------------------------------------------
 .../ignite/examples/misc/client/memcache/MemcacheRestExample.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/40a95ccc/examples/src/main/java/org/apache/ignite/examples/misc/client/memcache/MemcacheRestExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/misc/client/memcache/MemcacheRestExample.java
b/examples/src/main/java/org/apache/ignite/examples/misc/client/memcache/MemcacheRestExample.java
index c13b741..f48e6fb 100644
--- a/examples/src/main/java/org/apache/ignite/examples/misc/client/memcache/MemcacheRestExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/misc/client/memcache/MemcacheRestExample.java
@@ -19,7 +19,6 @@ package org.apache.ignite.examples.misc.client.memcache;
 
 import net.spy.memcached.*;
 import org.apache.ignite.*;
-import org.apache.ignite.cache.*;
 
 import java.io.*;
 import java.net.*;
@@ -50,7 +49,7 @@ public class MemcacheRestExample {
             System.out.println();
             System.out.println(">>> Memcache REST example started.");
 
-            GridCache<String, Object> cache = ignite.cache(null);
+            IgniteCache<String, Object> cache = ignite.jcache(null);
 
             client = startMemcachedClient(host, port);
 


Mime
View raw message