package com.ironsource; import com.ironsource.mediationsdk.impressionData.ImpressionDataListener; import java.util.HashSet; import java.util.List; import java.util.concurrent.ConcurrentHashMap; /* loaded from: classes2.dex */ public class lj { private static lj c; private final HashSet a = new HashSet<>(); private ConcurrentHashMap> b = new ConcurrentHashMap<>(); public static synchronized lj b() { lj ljVar; synchronized (lj.class) { try { if (c == null) { c = new lj(); } ljVar = c; } catch (Throwable th) { throw th; } } return ljVar; } public HashSet a() { return this.a; } public void a(ImpressionDataListener impressionDataListener) { synchronized (this) { this.a.add(impressionDataListener); } } public void a(String str, List list) { this.b.put(str, list); } public void b(ImpressionDataListener impressionDataListener) { synchronized (this) { this.a.remove(impressionDataListener); } } public ConcurrentHashMap> c() { return this.b; } public void d() { synchronized (this) { this.a.clear(); } } }