public class TimingMetricInfo extends Object
This is simple data bean intended to be passed to a front end, converted to JSON etc.
| Constructor and Description |
|---|
TimingMetricInfo(String name,
int collectionCount)
Construct with metric name and collection count.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCollectionCount()
Return the current collection count for this metric.
|
String |
getName()
Return the metric name.
|
public TimingMetricInfo(String name, int collectionCount)
public int getCollectionCount()
This is the number of remaining requests that will have timing collected.
Copyright © 2019. All rights reserved.