ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [3/4] incubator-ignite git commit: # IGNITE-55 Implemented VisorCacheClearTask with new API + minor renaming.
Date Wed, 11 Feb 2015 09:55:34 GMT
# IGNITE-55 Implemented VisorCacheClearTask with new API + minor renaming.


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

Branch: refs/heads/ignite-55-2
Commit: f4b6337f936746cc7c3a0ffc4a8c1cafc543031c
Parents: db09278
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Wed Feb 11 16:00:47 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Wed Feb 11 16:00:47 2015 +0700

----------------------------------------------------------------------
 .../ignite/visor/commands/events/VisorEventsCommand.scala      | 2 +-
 .../apache/ignite/visor/commands/kill/VisorKillCommand.scala   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f4b6337f/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/events/VisorEventsCommand.scala
----------------------------------------------------------------------
diff --git a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/events/VisorEventsCommand.scala
b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/events/VisorEventsCommand.scala
index a852ffd..1100d15 100644
--- a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/events/VisorEventsCommand.scala
+++ b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/events/VisorEventsCommand.scala
@@ -295,7 +295,7 @@ class VisorEventsCommand {
             }
 
             val evts = try
-                grid.compute(grid.forNode(node)).execute(classOf[VisorNodeEventsCollectorTask],
+                ignite.compute(ignite.forNode(node)).execute(classOf[VisorNodeEventsCollectorTask],
                     toTaskArgument(nid, VisorNodeEventsCollectorTaskArg.createEventsArg(tpFilter,
tmFilter)))
             catch {
                 case e: IgniteException =>

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f4b6337f/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/kill/VisorKillCommand.scala
----------------------------------------------------------------------
diff --git a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/kill/VisorKillCommand.scala
b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/kill/VisorKillCommand.scala
index c3a1bf9..e066c6f 100644
--- a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/kill/VisorKillCommand.scala
+++ b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/kill/VisorKillCommand.scala
@@ -219,7 +219,7 @@ class VisorKillCommand {
 
         val op = if (restart) "restart" else "kill"
 
-        if (nodes.size() == grid.nodes().size())
+        if (nodes.size() == ignite.nodes().size())
             ask("Are you sure you want to " + op + " ALL nodes? (y/n) [n]: ", "n") match
{
                 case "y" | "Y" =>  ask("You are about to " + op + " ALL nodes. " +
                     "Are you 100% sure? (y/n) [n]: ", "n") match {
@@ -244,9 +244,9 @@ class VisorKillCommand {
             }
 
         if (restart)
-            grid.restartNodes(nodes)
+            ignite.restartNodes(nodes)
         else
-            grid.stopNodes(nodes)
+            ignite.stopNodes(nodes)
     }
 
     /**


Mime
View raw message