package w4; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ThreadFactory; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; /* loaded from: classes2.dex */ public abstract class b { /* renamed from: a, reason: collision with root package name */ private static final w4.a f15150a; /* renamed from: b, reason: collision with root package name */ private static volatile w4.a f15151b; /* renamed from: w4.b$b, reason: collision with other inner class name */ private static class C0257b implements w4.a { private C0257b() { } @Override // w4.a public ExecutorService a(ThreadFactory threadFactory, c cVar) { return b(1, threadFactory, cVar); } public ExecutorService b(int i10, ThreadFactory threadFactory, c cVar) { ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(i10, i10, 60L, TimeUnit.SECONDS, new LinkedBlockingQueue(), threadFactory); threadPoolExecutor.allowCoreThreadTimeOut(true); return Executors.unconfigurableExecutorService(threadPoolExecutor); } } static { C0257b c0257b = new C0257b(); f15150a = c0257b; f15151b = c0257b; } public static w4.a a() { return f15151b; } }