FlushableExecutorService.Factory - DataDog/dd-sdk-android GitHub Wiki
fun interface Factory
A Factory for a FlushableExecutorService implementation.
Functions
create
abstract fun create(internalLogger: InternalLogger, executorContext: String, backPressureStrategy: BackPressureStrategy): FlushableExecutorService
Create an instance of FlushableExecutorService.
Return
the instance
Parameters
internalLogger | the internal logger |
executorContext | Context to be used for logging and naming threads running on this executor. |
backPressureStrategy | the strategy to handle back-pressure |