You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by th...@apache.org on 2017/05/31 11:22:03 UTC

svn commit: r1797014 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/inventory/IndexPrinter.java

Author: thomasm
Date: Wed May 31 11:22:03 2017
New Revision: 1797014

URL: http://svn.apache.org/viewvc?rev=1797014&view=rev
Log:
OAK-6080 - Index report service

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/inventory/IndexPrinter.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/inventory/IndexPrinter.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/inventory/IndexPrinter.java?rev=1797014&r1=1797013&r2=1797014&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/inventory/IndexPrinter.java (original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/inventory/IndexPrinter.java Wed May 31 11:22:03 2017
@@ -84,15 +84,15 @@ public class IndexPrinter implements Inv
             pw.println(lane);
             AsyncIndexInfo info = asyncIndexInfoService.getInfo(lane);
             if (info != null) {
-                        pw.printf("    Last Indexed To      : %s%n", formatTime(info.getLastIndexedTo()));
+                        pw.printf("    Last indexed to      : %s%n", formatTime(info.getLastIndexedTo()));
                 IndexStatsMBean stats = info.getStatsMBean();
                 if (stats != null) {
                         pw.printf("    Status              : %s%n", stats.getStatus());
                         pw.printf("    Failing             : %s%n", stats.isFailing());
                         pw.printf("    Paused              : %s%n", stats.isPaused());
                     if (stats.isFailing()) {
-                        pw.printf("    Failing Since       : %s%n", stats.getFailingSince());
-                        pw.printf("    Latest Error        : %s%n", stats.getLatestError());
+                        pw.printf("    Failing since       : %s%n", stats.getFailingSince());
+                        pw.printf("    Latest error        : %s%n", stats.getLatestError());
                     }
                 }
                 pw.println();
@@ -127,12 +127,12 @@ public class IndexPrinter implements Inv
         pw.println(info.getIndexPath());
         pw.printf("    Type                    : %s%n", info.getType());
         if (info.getAsyncLaneName() != null) {
-            pw.printf("    async                   : true%n");
-            pw.printf("    async name              : %s%n", info.getAsyncLaneName());
+            pw.printf("    Async                   : true%n");
+            pw.printf("    Async lane name         : %s%n", info.getAsyncLaneName());
         }
 
         if (info.getIndexedUpToTime() > 0){
-            pw.printf("    Last Indexed Upto       : %s%n", formatTime(info.getIndexedUpToTime()));
+            pw.printf("    Last indexed up to      : %s%n", formatTime(info.getIndexedUpToTime()));
         }
 
         if (info.getLastUpdatedTime() > 0){