Class MetricsFormatter
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.index.MetricsFormatter
-
public class MetricsFormatter extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricsFormatter
add(String key, boolean value)
MetricsFormatter
add(String key, int value)
MetricsFormatter
add(String key, long value)
MetricsFormatter
add(String key, String value)
String
build()
static String
createMetricsWithDurationOnly(long totalDurationSeconds)
static String
createMetricsWithDurationOnly(org.apache.jackrabbit.guava.common.base.Stopwatch taskStartWatch)
static MetricsFormatter
newBuilder()
-
-
-
Method Detail
-
createMetricsWithDurationOnly
public static String createMetricsWithDurationOnly(org.apache.jackrabbit.guava.common.base.Stopwatch taskStartWatch)
-
createMetricsWithDurationOnly
public static String createMetricsWithDurationOnly(long totalDurationSeconds)
-
newBuilder
public static MetricsFormatter newBuilder()
-
add
public MetricsFormatter add(String key, String value)
-
add
public MetricsFormatter add(String key, int value)
-
add
public MetricsFormatter add(String key, long value)
-
add
public MetricsFormatter add(String key, boolean value)
-
build
public String build()
-
-