what-the-bank/sources/com/google/android/gms/internal/measurement/zzbw.java

35 lines
1.2 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.measurement;
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: classes.dex */
final class zzbw implements zzbu {
private zzbw() {
}
public static final ExecutorService zzc(int i, ThreadFactory threadFactory, int i2) {
ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(1, 1, 60L, TimeUnit.SECONDS, new LinkedBlockingQueue(), threadFactory);
threadPoolExecutor.allowCoreThreadTimeOut(true);
return Executors.unconfigurableExecutorService(threadPoolExecutor);
}
@Override // com.google.android.gms.internal.measurement.zzbu
public final ExecutorService zza(int i) {
return zzc(1, Executors.defaultThreadFactory(), 1);
}
@Override // com.google.android.gms.internal.measurement.zzbu
public final ExecutorService zzb(ThreadFactory threadFactory, int i) {
return zzc(1, threadFactory, 1);
}
/* JADX INFO: Access modifiers changed from: package-private */
public /* synthetic */ zzbw(zzbv zzbvVar) {
}
}