public class MetricsCollector
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
MetricsCollector.Entry |
| Constructor | Description |
|---|---|
MetricsCollector() |
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.Map<java.lang.String,MetricsCollector.Entry> |
getEntries() |
|
static void |
report(java.lang.String methodName,
long duration) |
Report method call metrics.
|
public static void report(java.lang.String methodName,
long duration)
public static java.util.Map<java.lang.String,MetricsCollector.Entry> getEntries()
Copyright © 2018. All Rights Reserved.