Interface ElasticsearchConfig.DiscoveryConfig

Enclosing interface:
ElasticsearchConfig

public static interface ElasticsearchConfig.DiscoveryConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Defines if automatic discovery is enabled.
    Refresh interval of the node list.
  • Method Details

    • enabled

      @WithDefault("false") boolean enabled()
      Defines if automatic discovery is enabled.
    • refreshInterval

      @WithDefault("5M") Duration refreshInterval()
      Refresh interval of the node list.