# Uses of Class
com.ocient.metrics.Metric.CounterType

Packages that use Metric.CounterType
Package | Description
--- | ---
com.ocient.metrics |

## Uses of Metric.CounterType in com.ocient.metrics

Methods in com.ocient.metrics that return Metric.CounterType
Modifier and Type | Method | Description
--- | --- | ---
`Metric.CounterType` | Gauge.`counterType()` |
`abstract Metric.CounterType` | Metric.`counterType()` |
`Metric.CounterType` | PerfCounter.`counterType()` |
`static Metric.CounterType` | Metric.CounterType.`valueOf​(String name)` | Returns the enum constant of this type with the specified name.
`static Metric.CounterType[]` | Metric.CounterType.`values()` | Returns an array containing the constants of this enum type, in the order they are declared.

Methods in com.ocient.metrics with parameters of type Metric.CounterType
Modifier and Type | Method | Description
--- | --- | ---
`PerfCounter` | MetricsRegistry.`getCounter​(Metric.MetricPath path, PerfCounter.ThreadingModel threadingModel, Metric.DataType dataType, Metric.CounterType counterType, Metric.Units units)` | Fetches a `PerfCounter` or creates one if no such counter exists.
`static PerfCounter` | PerfCounter.`longCounter​(Metric.MetricPath path, PerfCounter.ThreadingModel threadingModel, Metric.DataType dataType, Metric.CounterType counterType, Metric.Units units)` | Creates a new `PerfCounter` instance for a `long` value.

Constructors in com.ocient.metrics with parameters of type Metric.CounterType
Constructor | Description
--- | ---
`Gauge​(Metric.MetricPath path, LongSupplier supplier, Metric.CounterType counterType, Metric.Units units)` |