Class StatsManagerConfig


  • public class StatsManagerConfig
    extends java.lang.Object
    The configs for stats.
    • Field Detail

      • STATS_OUTPUT_FILE_PATH

        public static final java.lang.String STATS_OUTPUT_FILE_PATH
        See Also:
        Constant Field Values
      • STATS_PUBLISH_PERIOD_IN_SECS

        public static final java.lang.String STATS_PUBLISH_PERIOD_IN_SECS
        See Also:
        Constant Field Values
      • STATS_INITIAL_DELAY_UPPER_BOUND_IN_SECS

        public static final java.lang.String STATS_INITIAL_DELAY_UPPER_BOUND_IN_SECS
        See Also:
        Constant Field Values
      • STATS_ENABLE_MYSQL_REPORT

        public static final java.lang.String STATS_ENABLE_MYSQL_REPORT
        See Also:
        Constant Field Values
      • outputFilePath

        @Config("stats.output.file.path")
        @Default("/tmp/stats_output.json")
        public final java.lang.String outputFilePath
        The file path (including filename) to be used for publishing the stats.
      • publishPeriodInSecs

        @Config("stats.publish.period.in.secs")
        @Default("7200")
        public final long publishPeriodInSecs
        The time period in seconds that configures how often stats are published.
      • initialDelayUpperBoundInSecs

        @Config("stats.initial.delay.upper.bound.in.secs")
        @Default("600")
        public final int initialDelayUpperBoundInSecs
        The upper bound for the initial delay in seconds before the first stats collection is triggered. The delay is a random number b/w 0 (inclusive) and this number (exclusive). If no initial delay is desired, this can be set to 0.
      • enableMysqlReport

        @Config("stats.enable.mysql.report")
        @Default("false")
        public final boolean enableMysqlReport
    • Constructor Detail