-
public final class AFExecutors
-
-
Field Summary
Fields Modifier and Type Field Description private final static ExecutorServicebackgroundExecutorprivate final static ScheduledExecutorServicescheduledBackgroundExecutorprivate final static ScheduledExecutorServicesingleScheduledBackgroundExecutorprivate final static ExecutorServicesingleThreadExecutorprivate final static ExecutorServiceloggerExecutor
-
Method Summary
Modifier and Type Method Description final ExecutorServicegetBackgroundExecutor()final ScheduledExecutorServicegetScheduledBackgroundExecutor()final ScheduledExecutorServicegetSingleScheduledBackgroundExecutor()final ExecutorServicegetSingleThreadExecutor()final ExecutorServicegetLoggerExecutor()Dedicated bounded executor for com.appsflyer.AFLogger fan-out. -
-
Method Detail
-
getBackgroundExecutor
final ExecutorService getBackgroundExecutor()
-
getScheduledBackgroundExecutor
final ScheduledExecutorService getScheduledBackgroundExecutor()
-
getSingleScheduledBackgroundExecutor
final ScheduledExecutorService getSingleScheduledBackgroundExecutor()
-
getSingleThreadExecutor
final ExecutorService getSingleThreadExecutor()
-
getLoggerExecutor
final ExecutorService getLoggerExecutor()
Dedicated bounded executor for com.appsflyer.AFLogger fan-out.
The queue is bounded so a burst of logs cannot grow the backlog until the heap is exhausted (DELIVERY-123370). When it overflows, PriorityDiscardPolicy drops the oldest regular log and keeps exception-bound (LoggerTask.important) logs whenever possible.
-
-
-
-