Stick Squad 3 v1.2.5.9版本的 MD5 值为:375cf7f77a7075270cd68d1397368279

以下内容为反编译后的 MetricConfigParams.java 源代码,内容仅作参考


package com.fusepowered.im.commons.metric;

import com.fusepowered.im.commons.cache.ProductCacheConfig;
import com.fusepowered.im.commons.internal.InternalSDKUtil;
import java.util.Map;

public class MetricConfigParams {
    private int a = ProductCacheConfig.DEFAULT_EXPIRY;
    private int b = 1000;

    private int f267c = 1000;
    private int d = 10;
    private String e = "https://sdkm.w.inmobi.com/metrics/e.asm";

    public int getNextRetryInterval() {
        return this.a;
    }

    public int getMaxInQueue() {
        return this.b;
    }

    public int getSamplingFactor() {
        return this.f267c;
    }

    public String getUrl() {
        return this.e;
    }

    public int getDumpThreshhold() {
        return this.d;
    }

    public void setFromMap(Map<String, Object> map) {
        this.f267c = InternalSDKUtil.getIntFromMap(map, "sf", 1, 2147483647L);
        this.d = InternalSDKUtil.getIntFromMap(map, "dt", 1, 2147483647L);
        this.b = InternalSDKUtil.getIntFromMap(map, "max", 1, 2147483647L);
        this.a = InternalSDKUtil.getIntFromMap(map, "nri", 1, 2147483647L);
        this.e = InternalSDKUtil.getStringFromMap(map, "url");
    }
}