Files
rr3-apk/decompiled/sources/com/google/firebase/messaging/FcmExecutors.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

45 lines
1.9 KiB
Java

package com.google.firebase.messaging;
import com.google.android.gms.common.util.concurrent.NamedThreadFactory;
import com.google.firebase.messaging.threads.PoolableExecutors;
import com.google.firebase.messaging.threads.ThreadPriority;
import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledThreadPoolExecutor;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
/* loaded from: classes3.dex */
public abstract class FcmExecutors {
public static Executor newFileIOExecutor() {
return newCachedSingleThreadExecutor("Firebase-Messaging-File-Io");
}
public static Executor newCachedSingleThreadExecutor(String str) {
return new ThreadPoolExecutor(0, 1, 30L, TimeUnit.SECONDS, new LinkedBlockingQueue(), new NamedThreadFactory(str));
}
public static ScheduledExecutorService newTopicsSyncExecutor() {
return new ScheduledThreadPoolExecutor(1, new NamedThreadFactory("Firebase-Messaging-Topics-Io"));
}
public static ExecutorService newNetworkIOExecutor() {
return Executors.newSingleThreadExecutor(new NamedThreadFactory("Firebase-Messaging-Network-Io"));
}
public static ExecutorService newTaskExecutor() {
return Executors.newSingleThreadExecutor(new NamedThreadFactory("Firebase-Messaging-Task"));
}
public static ExecutorService newIntentHandleExecutor() {
return PoolableExecutors.factory().newSingleThreadExecutor(new NamedThreadFactory("Firebase-Messaging-Intent-Handle"), ThreadPriority.HIGH_SPEED);
}
public static ScheduledExecutorService newInitExecutor() {
return new ScheduledThreadPoolExecutor(1, new NamedThreadFactory("Firebase-Messaging-Init"));
}
}