Skip to content

FlushableExecutorService.Factory

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

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
Clone this wiki locally