public void setStatsPeriodInfo(long selfPrintPeriodMs,
            long forcedResetPeriodMs) {
        this.selfPrintPeriodMs =
                MixedUtils.mid(selfPrintPeriodMs,
                        STATS_SELF_PRINT_MIN_PERIOD_MS, STATS_SELF_PRINT_MAX_PERIOD_MS);
        this.forcedResetPeriodMs =
                MixedUtils.mid(forcedResetPeriodMs,
                        STATS_AUTO_RESET_MIN_PERIOD_MS, STATS_AUTO_RESET_MAX_PERIOD_MS);
    }
Update current period settings

@param selfPrintPeriodMs   the time interval that the SDK prints itself
@param forcedResetPeriodMs the resets interval for collecting data
inlong-tubemq/tubemq-client/src/main/java/org/apache/inlong/tubemq/client/common/StatsConfig.java