Interface BackgroundStreamingConfig
public interface BackgroundStreamingConfig
Configuration for background streaming behavior.
-
Method Summary
Modifier and TypeMethodDescriptioncom.typesafe.config.ConfigReturn the config in HOCON format.intReturns how many events to keep in the actor state.Returns how long to wait between streams.booleanReturns 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.
-