Interface BusinessScoreConfig


@ConfigMapping(prefix="quarkus.business-score") @ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED) public interface BusinessScoreConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The limit at which the extension will remove all records outside the current time window.
    The amount of time a score record is kept alive.
    long
    The point at which the application is considered a zombie.
  • Method Details

    • zombieThreshold

      @WithDefault("10") long zombieThreshold()
      The point at which the application is considered a zombie.

      An application is considered a zombie if the current score is below the threshold in the current time window.

    • timeWindow

      @WithDefault("7D") Duration timeWindow()
      The amount of time a score record is kept alive.

      By default, it is kept for one week.

    • autoCompactLimit

      @WithDefault("1000") int autoCompactLimit()
      The limit at which the extension will remove all records outside the current time window.