Interface MetricsSupportProvider<T extends MetricsSupport>
-
- Type Parameters:
T
- implementation type ofMetricsSupport
- All Known Implementing Classes:
MetricsSupportProviderImpl
public interface MetricsSupportProvider<T extends MetricsSupport>
Provider behavior forMetricsSupport.Builder
instances (and, indirectly, forMetricsSupport
instances).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricsSupport.Builder<T>
builder()
T
create(MetricsSettings metricsSettings, RestServiceSettings restServiceSettings)
Create a new instance of the specific type ofMetricsSupport
.
-
-
-
Method Detail
-
builder
MetricsSupport.Builder<T> builder()
- Returns:
- a new
MetricsSupport.Builder
for a specific implementation type ofMetricsSupport
-
create
T create(MetricsSettings metricsSettings, RestServiceSettings restServiceSettings)
Create a new instance of the specific type ofMetricsSupport
.- Parameters:
metricsSettings
- metrics settings to use in creating theMetricsSupport
instancerestServiceSettings
- REST service settings to control the service endpoint- Returns:
- the new
MetricsSupport
instance
-
-