main.app.cash.backfila.client.jooq.BackfillBatch.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client-jooq Show documentation
Show all versions of client-jooq Show documentation
Backfila is a service that manages backfill state, calling into other services to do batched work.
package app.cash.backfila.client.jooq
import app.cash.backfila.client.BackfillConfig
/**
* Encapsulates the data we pass to the `batchConsumer` callback.
*/
data class BackfillBatch (
/**
* The name of the database shard.
*/
val shardName: String,
/**
* A jooq transacter to transact with the database shard.
*/
val transacter: BackfillJooqTransacter,
/**
* The keys that should be processed to perform the backfill action.
*/
val keys: List,
/**
* Backfill configuration.
*/
val config: BackfillConfig,
)