Interface PersistenceConfig

All Known Implementing Classes:
DefaultPersistenceConfig

public interface PersistenceConfig
Provides the configuration settings of health check persistence.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    An enumeration of the known config path expressions and their associated default values for PersistenceConfig.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the configuration settings of the metrics reporter.
    Returns the timeout of the health check for persistence.
    boolean
    Indicates whether the persistence health check should be enabled.
  • Method Details

    • isEnabled

      boolean isEnabled()
      Indicates whether the persistence health check should be enabled.
      Returns:
      true if the persistence health check should be enabled, false else.
    • getTimeout

      Duration getTimeout()
      Returns the timeout of the health check for persistence. If the persistence takes longer than that to respond, it is considered "DOWN".
      Returns:
      the timeout of the health check for persistence.
      See Also:
    • getMetricsReporterConfig

      MetricsReporterConfig getMetricsReporterConfig()
      Returns the configuration settings of the metrics reporter.
      Returns:
      the config.