ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: master: Minor change in visor debug.
Date Mon, 05 Mar 2018 03:25:08 GMT
Repository: ignite
Updated Branches:
  refs/heads/master 0cdded31e -> 0691347ed


master: Minor change in visor debug.


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

Branch: refs/heads/master
Commit: 0691347ed789f6c876681ba50356bdc5b8aa5ff4
Parents: 0cdded3
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Mon Mar 5 10:25:02 2018 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Mon Mar 5 10:25:02 2018 +0700

----------------------------------------------------------------------
 .../apache/ignite/internal/visor/util/VisorTaskUtils.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/0691347e/modules/core/src/main/java/org/apache/ignite/internal/visor/util/VisorTaskUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/util/VisorTaskUtils.java
b/modules/core/src/main/java/org/apache/ignite/internal/visor/util/VisorTaskUtils.java
index 0da7a34..fda9ba1 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/visor/util/VisorTaskUtils.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/util/VisorTaskUtils.java
@@ -840,7 +840,7 @@ public class VisorTaskUtils {
      * @param start Start time.
      */
     public static void logFinish(@Nullable IgniteLogger log, Class<?> clazz, long start)
{
-        final long end = U.currentTimeMillis();
+        final long end = System.currentTimeMillis();
 
         log0(log, end, String.format("[%s]: FINISHED, duration: %s", clazz.getSimpleName(),
formatDuration(end - start)));
     }
@@ -853,7 +853,7 @@ public class VisorTaskUtils {
      * @param nodes Mapped nodes.
      */
     public static void logMapped(@Nullable IgniteLogger log, Class<?> clazz, Collection<ClusterNode>
nodes) {
-        log0(log, U.currentTimeMillis(),
+        log0(log, System.currentTimeMillis(),
             String.format("[%s]: MAPPED: %s", clazz.getSimpleName(), U.toShortString(nodes)));
     }
 
@@ -867,7 +867,7 @@ public class VisorTaskUtils {
      * @return Time when message was logged.
      */
     public static long log(@Nullable IgniteLogger log, String msg, Class<?> clazz,
long start) {
-        final long end = U.currentTimeMillis();
+        final long end = System.currentTimeMillis();
 
         log0(log, end, String.format("[%s]: %s, duration: %s", clazz.getSimpleName(), msg,
formatDuration(end - start)));
 
@@ -881,7 +881,7 @@ public class VisorTaskUtils {
      * @param msg Message.
      */
     public static void log(@Nullable IgniteLogger log, String msg) {
-        log0(log, U.currentTimeMillis(), " " + msg);
+        log0(log, System.currentTimeMillis(), " " + msg);
     }
 
     /**


Mime
View raw message