25 lines
846 B
Java
25 lines
846 B
Java
|
package com.google.firebase.messaging;
|
||
|
|
||
|
import com.google.android.gms.common.util.concurrent.NamedThreadFactory;
|
||
|
import java.util.concurrent.Executor;
|
||
|
import java.util.concurrent.LinkedBlockingQueue;
|
||
|
import java.util.concurrent.ThreadPoolExecutor;
|
||
|
import java.util.concurrent.TimeUnit;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
final class zzi {
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public static Executor zza() {
|
||
|
return zza("Firebase-Messaging-Rpc-Task");
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public static Executor zzb() {
|
||
|
return zza("Firebase-Messaging-Trigger-Topics-Io");
|
||
|
}
|
||
|
|
||
|
private static Executor zza(String str) {
|
||
|
return new ThreadPoolExecutor(0, 1, 30L, TimeUnit.SECONDS, new LinkedBlockingQueue(), new NamedThreadFactory(str));
|
||
|
}
|
||
|
}
|