Custom

class Custom(val transactionPoolSize: Int, val queryPoolSize: Int, val transactionQueueSize: Int = 2 * transactionPoolSize, val queryQueueSize: Int = 2 * queryPoolSize) : DatabaseExecutor

Custom executor configuration for Room database operations.

Constructors

Link copied to clipboard
constructor(transactionPoolSize: Int, queryPoolSize: Int, transactionQueueSize: Int = 2 * transactionPoolSize, queryQueueSize: Int = 2 * queryPoolSize)

Properties

Link copied to clipboard

The size of the thread pool for query operations.

Link copied to clipboard

Optional size of the queue for query operations. If not set, 2 * queryPoolSize will be used.

Link copied to clipboard

The size of the thread pool for transaction operations.

Link copied to clipboard

Optional size of the queue for transaction operations. If not set, 2 * transactionPoolSize will be used.