@API(status=MAINTAINED,
since="1.0")
public class Statistics
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Statistics.StatisticsFacade |
| Constructor and Description |
|---|
Statistics() |
| Modifier and Type | Method and Description |
|---|---|
static void |
collect(java.lang.Object... values)
Call this method to record an entry for statistical data about generated values.
|
static StatisticsCollector |
label(java.lang.String label)
Call this method to get a labeled instance of StatisticsCollector.
|
@API(status=EXPERIMENTAL,
since="1.2.0")
public static StatisticsCollector label(java.lang.String label)
label - The label will be used for reporting the collected statistical valuespublic static void collect(java.lang.Object... values)
values - Can be anything. The list of these values is considered
a key for the reported table of frequencies.