/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.objectmodel.Goid
 *  com.l7tech.util.Pair
 */
package com.l7tech.server;

import com.l7tech.objectmodel.Goid;
import com.l7tech.server.k;
import com.l7tech.util.Pair;
import java.util.Set;

public class EntitiesProcessedInBatch {
    private final ThreadLocal<Set<Pair<Goid, Long>>> a = ThreadLocal.withInitial(new k(this));

    public boolean wasProcessed(Goid goid, Long l2) {
        return this.a.get().contains(Pair.pair((Object)goid, (Object)l2));
    }

    public void addProcessedEntity(Goid goid, Long l2) {
        this.a.get().add((Pair<Goid, Long>)Pair.pair((Object)goid, (Object)l2));
    }

    public void reset() {
        this.a.get().clear();
    }
}

