Metrics.NoopMetrics| Constructor and Description |
|---|
CachedMetrics(DTOMetrics httpMetrics,
long refreshPeriodInMillis) |
| Modifier and Type | Method and Description |
|---|---|
void |
count(String counter,
long delta)
Adjusts the specified counter by a given delta.
|
void |
time(String operation,
long timeInMs)
Records an execution time in milliseconds for the specified named operation.
|
public CachedMetrics(DTOMetrics httpMetrics, long refreshPeriodInMillis)
public void count(String counter, long delta)
MetricsThis method is is non-blocking and is guaranteed not to throw an exception.
Copyright © 2019. All rights reserved.