Author: dsetrakyan Date: Mon May 4 16:21:42 2015 New Revision: 1677623 URL: http://svn.apache.org/r1677623 Log: Examples update.
Modified: incubator/ignite/site/trunk/features.html Modified: incubator/ignite/site/trunk/features.html URL: http://svn.apache.org/viewvc/incubator/ignite/site/trunk/features.html?rev=1677623&r1=1677622&r2=1677623&view=diff ============================================================================== --- incubator/ignite/site/trunk/features.html (original) +++ incubator/ignite/site/trunk/features.html Mon May 4 16:21:42 2015 @@ -82,6 +82,7 @@ under the License. <li>Hibernate L2 Cache Integration</li> <li>Tiered Off-Heap Storage</li> <li>Distributed SQL Queries with Distributed Joins</li> + <li>Memcached-compliant & REST APIs for access from different languages</li> </ul> </div> <div class="feature-right"> @@ -106,7 +107,7 @@ under the License. Ignite ignite = Ignition.ignite(); // Get an instance of named cache. - final IgniteCache<Integer, String> cache = ignite.jcache("cacheName"); + final IgniteCache<Integer, String> cache = ignite.cache("cacheName"); // Store keys in cache. for (int i = 0; i < 10; i++) @@ -132,7 +133,7 @@ under the License. Ignite ignite = Ignition.ignite(); // Clone every object we get from cache, so we can freely update it. - IgniteCache<Integer, Account> cache = ignite.jcache("cacheName"); + IgniteCache<Integer, Account> cache = ignite.cache("cacheName"); try (IgniteTx tx = Ignition.ignite().transactions().txStart()) { Account acct = cache.get(acctId); @@ -154,7 +155,7 @@ under the License. Ignite ignite = Ignition.ignite(); // Get an instance of named cache. - final GridCache<String, Integer> cache = ignite.jcache("cacheName"); + final GridCache<String, Integer> cache = ignite.cache("cacheName"); // Lock cache key "Hello". Lock lock = cache.lock("Hello"); @@ -175,7 +176,7 @@ under the License. Ignite ignite = Ignition.ignite(); // Get an instance of named cache. - GridCache<Long, Person> cache = ignite.jcache("cacheName"); + GridCache<Long, Person> cache = ignite.cache("cacheName"); // Create query which selects salaries based on range. CacheQuery<Map.Entry<Long, Person>> qry = @@ -192,7 +193,7 @@ under the License. Ignite ignite = Ignition.ignite(); // Get an instance of named cache. - GridCache<Long, Person> cache = ignite.jcache("cacheName"); + GridCache<Long, Person> cache = ignite.cache("cacheName"); // Create query which joins on 2 types to select people for a specific organization. CacheQuery<Map.Entry<Long, Person>> qry =