Class PushRegistryPropertiesConfigAdapter<T extends PushRegistryProperties>

java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PropertiesConfigAdapter<T>
org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PushRegistryPropertiesConfigAdapter<T>
Type Parameters:
T - the properties type
All Implemented Interfaces:
io.micrometer.core.instrument.config.MeterRegistryConfig, io.micrometer.core.instrument.push.PushRegistryConfig
Direct Known Subclasses:
StepRegistryPropertiesConfigAdapter, WavefrontPropertiesConfigAdapter

public abstract class PushRegistryPropertiesConfigAdapter<T extends PushRegistryProperties> extends PropertiesConfigAdapter<T> implements io.micrometer.core.instrument.push.PushRegistryConfig
Base class for PushRegistryProperties to PushRegistryConfig adapters.
Since:
2.2.0
Author:
Jon Schneider, Phillip Webb, Artsiom Yudovin
  • Constructor Details

    • PushRegistryPropertiesConfigAdapter

      public PushRegistryPropertiesConfigAdapter(T properties)
  • Method Details

    • get

      public String get(String k)
      Specified by:
      get in interface io.micrometer.core.instrument.config.MeterRegistryConfig
    • step

      public Duration step()
      Specified by:
      step in interface io.micrometer.core.instrument.push.PushRegistryConfig
    • enabled

      public boolean enabled()
      Specified by:
      enabled in interface io.micrometer.core.instrument.push.PushRegistryConfig
    • batchSize

      public int batchSize()
      Specified by:
      batchSize in interface io.micrometer.core.instrument.push.PushRegistryConfig