sp-1 minor (start nodes invesigation)
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/8d347ed6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/8d347ed6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/8d347ed6 Branch: refs/heads/ignite-sql-old Commit: 8d347ed6ba99894caaaa526c758f88b7c6069545 Parents: 671d144 Author: Yakov Zhdanov <yzhda...@gridgain.com> Authored: Sat Feb 14 10:47:56 2015 +0300 Committer: Yakov Zhdanov <yzhda...@gridgain.com> Committed: Sat Feb 14 10:47:56 2015 +0300 ---------------------------------------------------------------------- .../ignite/cache/spring/SpringDynamicCacheManager.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8d347ed6/modules/spring/src/main/java/org/apache/ignite/cache/spring/SpringDynamicCacheManager.java ---------------------------------------------------------------------- diff --git a/modules/spring/src/main/java/org/apache/ignite/cache/spring/SpringDynamicCacheManager.java b/modules/spring/src/main/java/org/apache/ignite/cache/spring/SpringDynamicCacheManager.java index 9ffe0b5..f9b05ee 100644 --- a/modules/spring/src/main/java/org/apache/ignite/cache/spring/SpringDynamicCacheManager.java +++ b/modules/spring/src/main/java/org/apache/ignite/cache/spring/SpringDynamicCacheManager.java @@ -25,9 +25,7 @@ import org.apache.ignite.internal.util.tostring.*; import org.apache.ignite.internal.util.typedef.*; import org.apache.ignite.internal.util.typedef.internal.*; import org.apache.ignite.lang.*; -import org.springframework.cache.annotation.*; -import javax.cache.*; import java.io.*; import java.util.*; @@ -40,7 +38,8 @@ import java.util.*; * {@link #setDataCacheName(String)} configuration property. * <p> * Under the hood, this cache manager will create a cache projection - * for each cache name provided in {@link Cacheable}, {@link CachePut}, + * for each cache name provided in {@link org.springframework.cache.annotation.Cacheable}, + * {@link org.springframework.cache.annotation.CachePut}, * etc. annotations. Note that you're still able to use caches configured in * Ignite configuration. Cache projection will be created only * cache with provided name doesn't exist. @@ -154,8 +153,8 @@ public class SpringDynamicCacheManager extends SpringCacheManager { names, F.transform( metaCache.entrySetx(), - new IgniteClosure<Cache.Entry<MetaKey, org.springframework.cache.Cache>, String>() { - @Override public String apply(Cache.Entry<MetaKey, org.springframework.cache.Cache> e) { + new IgniteClosure<javax.cache.Cache.Entry<MetaKey, org.springframework.cache.Cache>, String>() { + @Override public String apply(javax.cache.Cache.Entry<MetaKey, org.springframework.cache.Cache> e) { return e.getKey().name; } }));