discord-jadx/app/src/main/java/c/f/j/e/b.java

58 lines
1.5 KiB
Java

package c.f.j.e;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
/* compiled from: DefaultExecutorSupplier */
public class b implements e {
public final Executor a = Executors.newFixedThreadPool(2, new n(10, "FrescoIoBoundExecutor", true));
public final Executor b;
/* renamed from: c reason: collision with root package name */
public final Executor f429c;
public final Executor d;
public final ScheduledExecutorService e;
public b(int i) {
this.b = Executors.newFixedThreadPool(i, new n(10, "FrescoDecodeExecutor", true));
this.f429c = Executors.newFixedThreadPool(i, new n(10, "FrescoBackgroundExecutor", true));
this.e = Executors.newScheduledThreadPool(i, new n(10, "FrescoBackgroundExecutor", true));
this.d = Executors.newFixedThreadPool(1, new n(10, "FrescoLightWeightBackgroundExecutor", true));
}
@Override // c.f.j.e.e
public Executor a() {
return this.b;
}
@Override // c.f.j.e.e
public Executor b() {
return this.d;
}
@Override // c.f.j.e.e
public Executor c() {
return this.f429c;
}
@Override // c.f.j.e.e
public Executor d() {
return this.a;
}
@Override // c.f.j.e.e
public Executor e() {
return this.a;
}
@Override // c.f.j.e.e
public Executor f() {
return this.a;
}
@Override // c.f.j.e.e
public ScheduledExecutorService g() {
return this.e;
}
}