# IGNITE-54-55 Fix compilation errors.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/6ec46227 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/6ec46227 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/6ec46227 Branch: refs/heads/ignite-57 Commit: 6ec46227ad71ec0d351f15911252c09486ea398e Parents: eb46cbb Author: sevdokimov <[email protected]> Authored: Wed Feb 4 17:22:36 2015 +0300 Committer: sevdokimov <[email protected]> Committed: Wed Feb 4 17:22:36 2015 +0300 ---------------------------------------------------------------------- .../apache/ignite/examples/datagrid/CacheDataLoaderExample.java | 2 +- .../org/apache/ignite/examples/datagrid/CacheEventsExample.java | 2 +- .../apache/ignite/examples/datagrid/CacheTransactionExample.java | 2 +- .../ignite/examples/datagrid/store/CacheStoreLoadDataExample.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6ec46227/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheDataLoaderExample.java ---------------------------------------------------------------------- diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheDataLoaderExample.java b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheDataLoaderExample.java index ca2ef64..64fa179 100644 --- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheDataLoaderExample.java +++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheDataLoaderExample.java @@ -56,7 +56,7 @@ public class CacheDataLoaderExample { System.out.println(">>> Cache data loader example started."); // Clean up caches on all nodes before run. - ignite.cache(CACHE_NAME).clear(0); + ignite.jcache(CACHE_NAME).clear(); System.out.println(); System.out.println(">>> Cache clear finished."); http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6ec46227/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheEventsExample.java ---------------------------------------------------------------------- diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheEventsExample.java b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheEventsExample.java index 0a3245f..5156a1b 100644 --- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheEventsExample.java +++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheEventsExample.java @@ -53,7 +53,7 @@ public class CacheEventsExample { final IgniteCache<Integer, String> cache = ignite.jcache(CACHE_NAME); // Clean up caches on all nodes before run. - cache.clear(0); + cache.clear(); // This optional local callback is called for each event notification // that passed remote predicate listener. http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6ec46227/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 f5042da..6710ebc 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 @@ -50,7 +50,7 @@ public class CacheTransactionExample { System.out.println(">>> Cache transaction example started."); // Clean up caches on all nodes before run. - ignite.cache(CACHE_NAME).clear(0); + ignite.jcache(CACHE_NAME).clear(); IgniteCache<Integer, Account> cache = ignite.jcache(CACHE_NAME); http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6ec46227/examples/src/main/java/org/apache/ignite/examples/datagrid/store/CacheStoreLoadDataExample.java ---------------------------------------------------------------------- diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/store/CacheStoreLoadDataExample.java b/examples/src/main/java/org/apache/ignite/examples/datagrid/store/CacheStoreLoadDataExample.java index f38374e..7bc7133 100644 --- a/examples/src/main/java/org/apache/ignite/examples/datagrid/store/CacheStoreLoadDataExample.java +++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/store/CacheStoreLoadDataExample.java @@ -53,7 +53,7 @@ public class CacheStoreLoadDataExample { final IgniteCache<String, Integer> cache = ignite.jcache(null); // Clean up caches on all nodes before run. - cache.clear(0); + cache.clear(); long start = System.currentTimeMillis();
