ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yzhda...@apache.org
Subject [20/32] incubator-ignite git commit: # minor: Visor jobs class names should be same as Visor tasks class names.
Date Fri, 27 Feb 2015 14:09:17 GMT
 # minor: Visor jobs class names should be same as Visor tasks class names.


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

Branch: refs/heads/ignite-335
Commit: 8f566e005fdd56d83fdd00aa81a017baa02bdd28
Parents: bf8c048
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Thu Feb 26 22:37:26 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Thu Feb 26 22:37:26 2015 +0700

----------------------------------------------------------------------
 .../visor/cache/VisorCacheMetricsCollectorTask.java       | 10 +++++-----
 .../internal/visor/node/VisorNodeEventsCollectorTask.java | 10 +++++-----
 .../ignite/internal/visor/node/VisorNodeGcTask.java       | 10 +++++-----
 .../ignite/internal/visor/node/VisorNodePingTask.java     | 10 +++++-----
 4 files changed, 20 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8f566e00/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheMetricsCollectorTask.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheMetricsCollectorTask.java
b/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheMetricsCollectorTask.java
index a92def6..2062727 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheMetricsCollectorTask.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCacheMetricsCollectorTask.java
@@ -38,8 +38,8 @@ public class VisorCacheMetricsCollectorTask extends VisorMultiNodeTask<IgniteBiT
     private static final long serialVersionUID = 0L;
 
     /** {@inheritDoc} */
-    @Override protected VisorCacheMetricsJob job(IgniteBiTuple<Boolean, String> arg)
{
-        return new VisorCacheMetricsJob(arg, debug);
+    @Override protected VisorCacheMetricsCollectorJob job(IgniteBiTuple<Boolean, String>
arg) {
+        return new VisorCacheMetricsCollectorJob(arg, debug);
     }
 
     /** {@inheritDoc} */
@@ -71,7 +71,7 @@ public class VisorCacheMetricsCollectorTask extends VisorMultiNodeTask<IgniteBiT
     /**
      * Job that collect cache metrics from node.
      */
-    private static class VisorCacheMetricsJob
+    private static class VisorCacheMetricsCollectorJob
         extends VisorJob<IgniteBiTuple<Boolean, String>, Map<String, VisorCacheMetrics>>
{
         /** */
         private static final long serialVersionUID = 0L;
@@ -82,7 +82,7 @@ public class VisorCacheMetricsCollectorTask extends VisorMultiNodeTask<IgniteBiT
          * @param arg Whether to collect metrics for all caches or for specified cache name
only.
          * @param debug Debug flag.
          */
-        private VisorCacheMetricsJob(IgniteBiTuple<Boolean, String> arg, boolean debug)
{
+        private VisorCacheMetricsCollectorJob(IgniteBiTuple<Boolean, String> arg, boolean
debug) {
             super(arg, debug);
         }
 
@@ -106,7 +106,7 @@ public class VisorCacheMetricsCollectorTask extends VisorMultiNodeTask<IgniteBiT
 
         /** {@inheritDoc} */
         @Override public String toString() {
-            return S.toString(VisorCacheMetricsJob.class, this);
+            return S.toString(VisorCacheMetricsCollectorJob.class, this);
         }
     }
 }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8f566e00/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeEventsCollectorTask.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeEventsCollectorTask.java
b/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeEventsCollectorTask.java
index bf13c1b..d1bd940 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeEventsCollectorTask.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeEventsCollectorTask.java
@@ -45,8 +45,8 @@ public class VisorNodeEventsCollectorTask extends VisorMultiNodeTask<VisorNodeEv
     private static final long serialVersionUID = 0L;
 
     /** {@inheritDoc} */
-    @Override protected VisorEventsCollectJob job(VisorNodeEventsCollectorTaskArg arg) {
-        return new VisorEventsCollectJob(arg, debug);
+    @Override protected VisorNodeEventsCollectorJob job(VisorNodeEventsCollectorTaskArg arg)
{
+        return new VisorNodeEventsCollectorJob(arg, debug);
     }
 
     /** {@inheritDoc} */
@@ -172,7 +172,7 @@ public class VisorNodeEventsCollectorTask extends VisorMultiNodeTask<VisorNodeEv
     /**
      * Job for task returns events data.
      */
-    private static class VisorEventsCollectJob extends VisorJob<VisorNodeEventsCollectorTaskArg,
+    private static class VisorNodeEventsCollectorJob extends VisorJob<VisorNodeEventsCollectorTaskArg,
         Collection<? extends VisorGridEvent>> {
         /** */
         private static final long serialVersionUID = 0L;
@@ -183,7 +183,7 @@ public class VisorNodeEventsCollectorTask extends VisorMultiNodeTask<VisorNodeEv
          * @param arg Job argument.
          * @param debug Debug flag.
          */
-        private VisorEventsCollectJob(VisorNodeEventsCollectorTaskArg arg, boolean debug)
{
+        private VisorNodeEventsCollectorJob(VisorNodeEventsCollectorTaskArg arg, boolean
debug) {
             super(arg, debug);
         }
 
@@ -334,7 +334,7 @@ public class VisorNodeEventsCollectorTask extends VisorMultiNodeTask<VisorNodeEv
 
         /** {@inheritDoc} */
         @Override public String toString() {
-            return S.toString(VisorEventsCollectJob.class, this);
+            return S.toString(VisorNodeEventsCollectorJob.class, this);
         }
     }
 }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8f566e00/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeGcTask.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeGcTask.java
b/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeGcTask.java
index b545809..12e186b 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeGcTask.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeGcTask.java
@@ -37,8 +37,8 @@ public class VisorNodeGcTask extends VisorMultiNodeTask<Void, Map<UUID,
IgniteBi
     private static final long serialVersionUID = 0L;
 
     /** {@inheritDoc} */
-    @Override protected VisorGcJob job(Void arg) {
-        return new VisorGcJob(arg, debug);
+    @Override protected VisorNodeGcJob job(Void arg) {
+        return new VisorNodeGcJob(arg, debug);
     }
 
     /** {@inheritDoc} */
@@ -55,7 +55,7 @@ public class VisorNodeGcTask extends VisorMultiNodeTask<Void, Map<UUID,
IgniteBi
     }
 
     /** Job that perform GC on node. */
-    private static class VisorGcJob extends VisorJob<Void, IgniteBiTuple<Long, Long>>
{
+    private static class VisorNodeGcJob extends VisorJob<Void, IgniteBiTuple<Long,
Long>> {
         /** */
         private static final long serialVersionUID = 0L;
 
@@ -65,7 +65,7 @@ public class VisorNodeGcTask extends VisorMultiNodeTask<Void, Map<UUID,
IgniteBi
          * @param arg Formal task argument.
          * @param debug Debug flag.
          */
-        private VisorGcJob(Void arg, boolean debug) {
+        private VisorNodeGcJob(Void arg, boolean debug) {
             super(arg, debug);
         }
 
@@ -92,7 +92,7 @@ public class VisorNodeGcTask extends VisorMultiNodeTask<Void, Map<UUID,
IgniteBi
 
         /** {@inheritDoc} */
         @Override public String toString() {
-            return S.toString(VisorGcJob.class, this);
+            return S.toString(VisorNodeGcJob.class, this);
         }
     }
 }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8f566e00/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodePingTask.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodePingTask.java
b/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodePingTask.java
index 9987eba..64c8376 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodePingTask.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodePingTask.java
@@ -36,8 +36,8 @@ public class VisorNodePingTask extends VisorOneNodeTask<UUID, GridTuple3<Boolean
     private static final long serialVersionUID = 0L;
 
     /** {@inheritDoc} */
-    @Override protected VisorPingJob job(UUID arg) {
-        return new VisorPingJob(arg, debug);
+    @Override protected VisorNodePingJob job(UUID arg) {
+        return new VisorNodePingJob(arg, debug);
     }
 
     /** {@inheritDoc} */
@@ -53,7 +53,7 @@ public class VisorNodePingTask extends VisorOneNodeTask<UUID, GridTuple3<Boolean
     /**
      * Job that ping node.
      */
-    private static class VisorPingJob extends VisorJob<UUID, GridTuple3<Boolean, Long,
Long>> {
+    private static class VisorNodePingJob extends VisorJob<UUID, GridTuple3<Boolean,
Long, Long>> {
         /** */
         private static final long serialVersionUID = 0L;
 
@@ -61,7 +61,7 @@ public class VisorNodePingTask extends VisorOneNodeTask<UUID, GridTuple3<Boolean
          * @param arg Node ID to ping.
          * @param debug Debug flag.
          */
-        protected VisorPingJob(UUID arg, boolean debug) {
+        protected VisorNodePingJob(UUID arg, boolean debug) {
             super(arg, debug);
         }
 
@@ -74,7 +74,7 @@ public class VisorNodePingTask extends VisorOneNodeTask<UUID, GridTuple3<Boolean
 
         /** {@inheritDoc} */
         @Override public String toString() {
-            return S.toString(VisorPingJob.class, this);
+            return S.toString(VisorNodePingJob.class, this);
         }
     }
 }


Mime
View raw message