41 lines
904 B
Java
41 lines
904 B
Java
package c.f.b.b;
|
|
|
|
import com.facebook.cache.common.CacheKey;
|
|
/* compiled from: SettableCacheEvent */
|
|
public class i {
|
|
public static final Object a = new Object();
|
|
public static i b;
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
|
public static int f363c;
|
|
public CacheKey d;
|
|
public i e;
|
|
|
|
public static i a() {
|
|
synchronized (a) {
|
|
i iVar = b;
|
|
if (iVar == null) {
|
|
return new i();
|
|
}
|
|
b = iVar.e;
|
|
iVar.e = null;
|
|
f363c--;
|
|
return iVar;
|
|
}
|
|
}
|
|
|
|
public void b() {
|
|
synchronized (a) {
|
|
int i = f363c;
|
|
if (i < 5) {
|
|
f363c = i + 1;
|
|
i iVar = b;
|
|
if (iVar != null) {
|
|
this.e = iVar;
|
|
}
|
|
b = this;
|
|
}
|
|
}
|
|
}
|
|
}
|