public final class CLIReportingUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BUILD_VERSION_PROPERTY |
static long |
MB |
Constructor and Description |
---|
CLIReportingUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
formatDuration(long duration) |
static String |
formatTimestamp(long timestamp) |
static void |
showError(Logger logger,
String message,
Throwable e,
boolean showStackTrace) |
static String |
showVersion() |
public static final long MB
public static final String BUILD_VERSION_PROPERTY
public static String showVersion()
public static void showError(Logger logger, String message, Throwable e, boolean showStackTrace)
public static String formatTimestamp(long timestamp)
public static String formatDuration(long duration)
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.