VegeFruits v7.1版本的 MD5 值为:2ff167dfba698c783e879938fe00b9ce

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


package com.inmobi.commons.core.d;

import com.tapjoy.TJAdUnitConstants;
import org.json.JSONException;
import org.json.JSONObject;

public class e extends com.inmobi.commons.core.configs.a {
    private String b = "https://sdkm.w.inmobi.com/metrics/e.asm?v=1&";
    private int c = 300;
    private int d = 60;
    private int e = 50;
    private int f = 3;
    private int g = 1000;
    private int h = 10;
    private long i = 259200;
    private d a = new d();

    @Override
    public String a() {
        return "telemetry";
    }

    @Override
    public boolean c() {
        if (this.a == null || this.a.c() < 0 || this.b.trim().length() == 0) {
            return false;
        }
        return (this.b.startsWith("http://") || this.b.startsWith("https://")) && this.d >= 0 && this.c >= 0 && this.f >= 0 && this.h > 0 && this.e > 0 && this.g > 0;
    }

    @Override
    public void a(JSONObject jSONObject) throws JSONException {
        super.a(jSONObject);
        JSONObject jSONObject2 = jSONObject.getJSONObject("base");
        this.a.b(jSONObject2.getBoolean(TJAdUnitConstants.String.ENABLED));
        this.a.a(jSONObject2.getInt("samplingFactor"));
        this.a.a(jSONObject2.getBoolean("metricEnabled"));
        a(jSONObject.getString("url"));
        a(jSONObject.getInt("processingInterval"));
        f(jSONObject.getInt("retryInterval"));
        c(jSONObject.getInt("maxBatchSize"));
        b(jSONObject.getInt("maxRetryCount"));
        d(jSONObject.getInt("maxEventsToPersist"));
        e(jSONObject.getInt("memoryThreshold"));
        a(jSONObject.getInt("eventTTL"));
    }

    @Override
    public JSONObject b() throws JSONException {
        JSONObject b = super.b();
        JSONObject jSONObject = new JSONObject();
        jSONObject.put(TJAdUnitConstants.String.ENABLED, this.a.b());
        jSONObject.put("samplingFactor", this.a.c());
        jSONObject.put("metricEnabled", this.a.d());
        b.put("base", jSONObject);
        b.put("url", g());
        b.put("processingInterval", l());
        b.put("retryInterval", h());
        b.put("maxBatchSize", j());
        b.put("maxRetryCount", k());
        b.put("maxEventsToPersist", m());
        b.put("memoryThreshold", i());
        b.put("eventTTL", e());
        return b;
    }

    public long e() {
        return this.i;
    }

    public void a(long j) {
        this.i = j;
    }

    public boolean f() {
        return this.a.b();
    }

    private void a(String str) {
        this.b = str;
    }

    public String g() {
        return this.b;
    }

    private void a(int i) {
        this.c = i;
    }

    private void b(int i) {
        this.f = i;
    }

    private void c(int i) {
        this.e = i;
    }

    private void d(int i) {
        this.g = i;
    }

    private void e(int i) {
        this.h = i;
    }

    private void f(int i) {
        this.d = i;
    }

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

    public int i() {
        return this.h;
    }

    public int j() {
        return this.e;
    }

    public int k() {
        return this.f;
    }

    public int l() {
        return this.c;
    }

    public int m() {
        return this.g;
    }

    @Override
    public com.inmobi.commons.core.configs.a d() {
        return new e();
    }

    public d n() {
        return this.a;
    }
}