public final class MetricUtils
extends java.lang.Object
Constructor and Description |
---|
MetricUtils() |
Modifier and Type | Method and Description |
---|---|
static long[] |
concatArrays(java.util.List<long[]> arrays,
int start,
int size)
Concatenate
size many values from the passed in arrays, starting at offset start . |
static RichGauge |
resetRichGauge(RichGauge g) |
static Gauge |
setGaugeValue(Gauge g,
long value) |
static RichGauge |
setRichGaugeValue(RichGauge g,
double value,
double alpha) |
static long |
sum(long[] array) |
public static RichGauge setRichGaugeValue(RichGauge g, double value, double alpha)
public static long[] concatArrays(java.util.List<long[]> arrays, int start, int size)
size
many values from the passed in arrays, starting at offset start
.public static long sum(long[] array)