Interface BackgroundStreamingConfig


public interface BackgroundStreamingConfig
Configuration for background streaming behavior.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.typesafe.config.Config
    Return the config in HOCON format.
    int
    Returns how many events to keep in the actor state.
    Returns how long to wait between streams.
    boolean
    Returns whether background streaming is turned on.
  • Method Details

    • isEnabled

      boolean isEnabled()
      Returns whether background streaming is turned on.
      Returns:
      true or false.
    • getQuietPeriod

      Duration getQuietPeriod()
      Returns how long to wait between streams.
      Returns:
      duration of the quiet period.
    • getKeptEvents

      int getKeptEvents()
      Returns how many events to keep in the actor state.
      Returns:
      number of kept events.
    • getConfig

      com.typesafe.config.Config getConfig()
      Return the config in HOCON format.
      Returns:
      the HOCON.