Uses of Record Class
com.kingsrook.qqq.backend.core.jobs.model.ChunkOutcome
Packages that use ChunkOutcome
Package
Description
-
Uses of ChunkOutcome in com.kingsrook.qqq.backend.core.jobs.plans
Methods in com.kingsrook.qqq.backend.core.jobs.plans that return ChunkOutcomeModifier and TypeMethodDescriptionChunkedProcessPlan.runChunk(ChunkContext context) Run one chunk: the process's own steps, restricted to the chunk.JobPlan.runChunk(ChunkContext context) Run one chunk, as the job's user.StepsJobPlan.runChunk(ChunkContext context) Methods in com.kingsrook.qqq.backend.core.jobs.plans with parameters of type ChunkOutcomeModifier and TypeMethodDescriptionvoidChunkContext.completeInTransaction(ChunkOutcome outcome, List<QRecord> rowErrors, QBackendTransaction transaction) Mark the chunk DONE inside the plan's own transaction (SAME_TRANSACTION: the chunk's writes and its DONE mark commit together, fenced by the lease).voidChunkContext.completeInTransaction(ChunkOutcome outcome, List<QRecord> rowErrors, List<QRecord> effects, QBackendTransaction transaction) Mark the chunk DONE in the plan's transaction, with its row errors and its outbox effects: the chunk's writes, its effects and its DONE mark commit together (spec section 2.13). -
Uses of ChunkOutcome in com.kingsrook.qqq.backend.core.jobs.store
Methods in com.kingsrook.qqq.backend.core.jobs.store with parameters of type ChunkOutcomeModifier and TypeMethodDescriptionvoidDurableJobStore.completeChunk(JobLease lease, ChunkOutcome outcome, QBackendTransaction transaction) Mark a chunk DONE with its outcome.