public interface MetricBuilder<T extends Metric>
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isInstance(Metric metric)
check if the current builder can build the given metric
|
T |
newMetric(MetricName name)
create a new metric instance
|
T newMetric(MetricName name)
name - the name of the metricboolean isInstance(Metric metric)
metric - the metric to checkCopyright © 2019. All rights reserved.