ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [25/50] [abbrv] incubator-ignite git commit: # sprint-2 Minor.
Date Wed, 18 Feb 2015 10:41:20 GMT
# sprint-2 Minor.


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

Branch: refs/heads/ignite-223
Commit: f7c5782473ead17a1fc460b637ba0b4b143552d9
Parents: 38e1389
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Tue Feb 17 17:21:17 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Tue Feb 17 17:21:17 2015 +0700

----------------------------------------------------------------------
 .../apache/ignite/internal/visor/cache/VisorCacheLoadTask.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f7c57824/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheLoadTask.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheLoadTask.java
b/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheLoadTask.java
index 55e3f5e..5ec5b0e 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheLoadTask.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheLoadTask.java
@@ -63,10 +63,10 @@ public class VisorCacheLoadTask extends
 
             Map<String, Integer> res = new HashMap<>();
 
-            ExpiryPolicy policy = new CreatedExpiryPolicy(new Duration(TimeUnit.MILLISECONDS,
ttl));
+            ExpiryPolicy plc = new CreatedExpiryPolicy(new Duration(TimeUnit.MILLISECONDS,
ttl));
 
             for (String cacheName: cacheNames) {
-                IgniteCache cache = ignite.jcache(cacheName).withExpiryPolicy(policy);
+                IgniteCache cache = ignite.jcache(cacheName).withExpiryPolicy(plc);
 
                 cache.loadCache(null, ldrArgs);
 


Mime
View raw message