public void updateStatsConfig(StatsLevel statsLevel, boolean enableSelfPrint,
            long selfPrintPeriodMs, long forcedResetPeriodMs) {
        updateStatsControl(statsLevel, enableSelfPrint);
        setStatsPeriodInfo(selfPrintPeriodMs, forcedResetPeriodMs);
    }
Update current configure settings
Attention, if statsLevel is ZERO, then printing will be automatically turned off
regardless of the value of enableSelfPrint

@param statsLevel          the statistics level
@param enableSelfPrint     whether to allow the SDK to print by itself
@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