ignite-1.5 - removed near cache
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/67f4afa2 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/67f4afa2 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/67f4afa2 Branch: refs/heads/ignite-1537 Commit: 67f4afa2313af750a933b81b912c9ba504d8ec4e Parents: 18fef56 Author: Yakov Zhdanov <yzhda...@gridgain.com> Authored: Thu Dec 10 14:01:32 2015 +0300 Committer: Yakov Zhdanov <yzhda...@gridgain.com> Committed: Thu Dec 10 14:01:32 2015 +0300 ---------------------------------------------------------------------- .../apache/ignite/examples/datagrid/CacheTransactionExample.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/67f4afa2/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheTransactionExample.java ---------------------------------------------------------------------- diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheTransactionExample.java b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheTransactionExample.java index 93e51c1..eced5f2 100644 --- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheTransactionExample.java +++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheTransactionExample.java @@ -59,7 +59,7 @@ public class CacheTransactionExample { cfg.setAtomicityMode(CacheAtomicityMode.TRANSACTIONAL); - try (IgniteCache<Integer, Account> cache = ignite.getOrCreateCache(cfg, new NearCacheConfiguration<Integer, Account>())) { + try (IgniteCache<Integer, Account> cache = ignite.getOrCreateCache(cfg)) { // Initialize. cache.put(1, new Account(1, 100)); cache.put(2, new Account(1, 200)); @@ -142,4 +142,4 @@ public class CacheTransactionExample { return "Account [id=" + id + ", balance=$" + balance + ']'; } } -} \ No newline at end of file +}