Interface MetricsSupportProvider<B extends MetricsSupport.Builder<B,T>,T extends MetricsSupport>
- Type Parameters:
B
- builder typeT
- implementation type ofMetricsSupport
- All Known Implementing Classes:
MetricsSupportProviderImpl
public interface MetricsSupportProvider<B extends MetricsSupport.Builder<B,T>,T extends MetricsSupport>
Provider behavior for
MetricsSupport.Builder
instances (and, indirectly, for MetricsSupport
instances).-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
create
(MetricsSettings metricsSettings, RestServiceSettings restServiceSettings) Create a new instance of the specific type ofMetricsSupport
.
-
Method Details
-
builder
B builder()- Returns:
- a new
MetricsSupport.Builder
for a specific implementation type ofMetricsSupport
-
create
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
-