-
- All Implemented Interfaces:
-
com.facebook.imagepipeline.core.ExecutorSupplier
public final class DefaultExecutorSupplier implements ExecutorSupplier
Basic implementation of ExecutorSupplier.
Provides one thread pool for the CPU-bound operations and another thread pool for the IO-bound operations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDefaultExecutorSupplier.Companion
-
Constructor Summary
Constructors Constructor Description DefaultExecutorSupplier(Integer numCpuBoundThreads)
-
Method Summary
Modifier and Type Method Description ExecutorforLocalStorageRead()ExecutorforLocalStorageWrite()ExecutorforDecode()ExecutorforBackgroundTasks()ScheduledExecutorServicescheduledExecutorServiceForBackgroundTasks()ExecutorforLightweightBackgroundTasks()ExecutorforThumbnailProducer()-
-
Constructor Detail
-
DefaultExecutorSupplier
DefaultExecutorSupplier(Integer numCpuBoundThreads)
-
-
Method Detail
-
forLocalStorageRead
Executor forLocalStorageRead()
-
forLocalStorageWrite
Executor forLocalStorageWrite()
-
forBackgroundTasks
Executor forBackgroundTasks()
-
scheduledExecutorServiceForBackgroundTasks
ScheduledExecutorService scheduledExecutorServiceForBackgroundTasks()
-
forLightweightBackgroundTasks
Executor forLightweightBackgroundTasks()
-
forThumbnailProducer
Executor forThumbnailProducer()
-
-
-
-