Interface InformerConfiguration

All Superinterfaces:
io.micronaut.core.util.Toggleable

@ConfigurationProperties("kubernetes.client.informer") public interface InformerConfiguration extends io.micronaut.core.util.Toggleable
The informer configuration.
Since:
3.1
Author:
Pavol Gressa
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Resync period to use for all informers.
    long
    Timeout step to check whether the informer has synchronised.
    long
    Timout for informer to get synchronised.

    Methods inherited from interface io.micronaut.core.util.Toggleable

    isEnabled
  • Field Details

  • Method Details

    • getSyncTimeout

      @Bindable(defaultValue="60") long getSyncTimeout()
      Timout for informer to get synchronised.
      Returns:
      timeout in seconds
    • getSyncStepTimeout

      @Bindable(defaultValue="500") long getSyncStepTimeout()
      Timeout step to check whether the informer has synchronised.
      Returns:
      step timeout in milliseconds
    • getResyncPeriod

      Optional<Duration> getResyncPeriod()
      Resync period to use for all informers.
      Returns:
      resync period