public class Metrics
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Metrics.MetricType
Constants which are used as metric types.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<Metrics.MetricType,java.lang.Integer> |
counts |
| Constructor and Description |
|---|
Metrics() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
flush()
Get all collected data as a string and clear it afterwards.
|
static void |
increaseCount(Metrics.MetricType type) |
public static final java.util.Map<Metrics.MetricType,java.lang.Integer> counts
public static void increaseCount(Metrics.MetricType type)
public static java.lang.String flush()