- java.lang.Object
-
- io.helidon.metrics.MetricsSupportProviderImpl
-
- All Implemented Interfaces:
MetricsSupportProvider<MetricsSupport>
public class MetricsSupportProviderImpl extends Object implements MetricsSupportProvider<MetricsSupport>
Provider which furnishes a builder forMetricsSupport
instances.
-
-
Constructor Summary
Constructors Constructor Description MetricsSupportProviderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricsSupport.Builder
builder()
MetricsSupport
create(MetricsSettings metricsSettings, RestServiceSettings restServiceSettings)
Create a new instance of the specific type ofMetricsSupport
.
-
-
-
Method Detail
-
builder
public MetricsSupport.Builder builder()
- Specified by:
builder
in interfaceMetricsSupportProvider<MetricsSupport>
- Returns:
- a new
MetricsSupport.Builder
for a specific implementation type ofMetricsSupport
-
create
public MetricsSupport create(MetricsSettings metricsSettings, RestServiceSettings restServiceSettings)
Description copied from interface:MetricsSupportProvider
Create a new instance of the specific type ofMetricsSupport
.- Specified by:
create
in interfaceMetricsSupportProvider<MetricsSupport>
- Parameters:
metricsSettings
- metrics settings to use in creating theMetricsSupport
instancerestServiceSettings
- REST service settings to control the service endpoint- Returns:
- the new
MetricsSupport
instance
-
-