@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof StatsConfig)) {
            return false;
        }
        StatsConfig that = (StatsConfig) o;
        return ((enableSelfPrint == that.enableSelfPrint)
                && (selfPrintPeriodMs == that.selfPrintPeriodMs)
                && (forcedResetPeriodMs == that.forcedResetPeriodMs)
                && (statsLevel == that.statsLevel));
    }
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