java.lang.Object | |
↳ | com.facebook.imagepipeline.core.DefaultExecutorSupplier |
Basic implementation of ExecutorSupplier
.
Provides one thread pool for the CPU-bound operations and another thread pool for the IO-bound operations.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DefaultExecutorSupplier(int numCpuBoundThreads) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Executor |
forBackgroundTasks()
Executor used for background tasks such as image transcoding, resizing, rotating and post
processing.
| ||||||||||
Executor |
forDecode()
Executor used for all decodes.
| ||||||||||
Executor |
forLightweightBackgroundTasks()
Executor used for lightweight background operations, such as handing request off the main
thread.
| ||||||||||
Executor |
forLocalStorageRead()
Executor used to do all disk reads, whether for disk cache or local files.
| ||||||||||
Executor |
forLocalStorageWrite()
Executor used to do all disk writes, whether for disk cache or local files.
| ||||||||||
Executor | forThumbnailProducer() | ||||||||||
ScheduledExecutorService | scheduledExecutorServiceForBackgroundTasks() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.facebook.imagepipeline.core.ExecutorSupplier
|
Executor used for background tasks such as image transcoding, resizing, rotating and post processing.
Executor used for all decodes.
Executor used for lightweight background operations, such as handing request off the main thread.
Executor used to do all disk reads, whether for disk cache or local files.
Executor used to do all disk writes, whether for disk cache or local files.