Uses of Class
com.ocient.metrics.Metric.MetricPath
| Package | Description |
|---|---|
| com.ocient.metrics |
-
Uses of Metric.MetricPath in com.ocient.metrics
Methods in com.ocient.metrics that return Metric.MetricPath Modifier and Type Method Description static Metric.MetricPathMetric.MetricPath. create(String basePath, List<Metric.NamedTag> tags)Constructs a Path for a perf counter with the given base path and set ofMetric.NamedTags.static Metric.MetricPathMetric.MetricPath. createWithFullPath(String basePath, List<Metric.NamedTag> tags, String fullPathOverride)Same ascreate(String, List)but the full path is provided instead of being derived from the givenMetric.NamedTags.Metric.MetricPathMetric. path()Methods in com.ocient.metrics with parameters of type Metric.MetricPath Modifier and Type Method Description Optional<Metric<?>>MetricsRegistry. find(Metric.MetricPath path)Finds the singleMetricwith the exact given path.PerfCounterMetricsRegistry. getCounter(Metric.MetricPath path, PerfCounter.ThreadingModel threadingModel, Metric.DataType dataType, Metric.CounterType counterType, Metric.Units units)Fetches aPerfCounteror creates one if no such counter exists.static PerfCounterPerfCounter. longCounter(Metric.MetricPath path, PerfCounter.ThreadingModel threadingModel, Metric.DataType dataType, Metric.CounterType counterType, Metric.Units units)Creates a newPerfCounterinstance for alongvalue.Constructors in com.ocient.metrics with parameters of type Metric.MetricPath Constructor Description Gauge(Metric.MetricPath path, LongSupplier supplier, Metric.CounterType counterType, Metric.Units units)