package com.tencent.mm.plugin.appbrand.jsapi.storage;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.appbrand.appstorage.f;
import com.tencent.mm.plugin.appbrand.appstorage.n.a;
import com.tencent.mm.plugin.appbrand.appstorage.r;
import com.tencent.mm.plugin.appbrand.jsapi.h;

class f$1 implements Runnable {
    final /* synthetic */ int eIl;
    final /* synthetic */ long fEG;
    final /* synthetic */ h hBK;
    final /* synthetic */ int hXe;
    final /* synthetic */ f hXh;
    final /* synthetic */ String val$appId;
    final /* synthetic */ String val$key;

    f$1(f fVar, int i, String str, String str2, h hVar, int i2, long j) {
        this.hXh = fVar;
        this.hXe = i;
        this.val$appId = str;
        this.val$key = str2;
        this.hBK = hVar;
        this.eIl = i2;
        this.fEG = j;
    }

    public final void run() {
        String str;
        String str2;
        AppMethodBeat.i(102034);
        f fVar = f.gXv;
        Object[] k = f.k(this.hXe, this.val$appId, this.val$key);
        if (((a) k[0]) == a.NONE) {
            str = (String) k[2];
            str2 = (String) k[1];
        } else {
            str = null;
            str2 = null;
        }
        f.a(this.hXh, str2 == null ? "fail:data not found" : "ok", str2, str, this.hBK, this.eIl);
        f.a(2, r.by(this.val$key, str2), this.fEG, this.hBK);
        AppMethodBeat.o(102034);
    }
}
