Interface MetricsSupportProvider<B extends MetricsSupport.Builder<B,T>,T extends MetricsSupport>

Type Parameters:
B - builder type
T - implementation type of MetricsSupport
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 Details

    • builder

      B builder()
      Returns:
      a new MetricsSupport.Builder for a specific implementation type of MetricsSupport
    • create

      T create(MetricsSettings metricsSettings, RestServiceSettings restServiceSettings)
      Create a new instance of the specific type of MetricsSupport.
      Parameters:
      metricsSettings - metrics settings to use in creating the MetricsSupport instance
      restServiceSettings - REST service settings to control the service endpoint
      Returns:
      the new MetricsSupport instance