[−][src]Module transact::scheduler
Batch scheduling with transaction execution APIs
A Scheduler
is used to execute one or more Batch
objects, receiving
a BatchExecutionResult
as a result of the execution of a Batch
. A Batch
contains one or
more Transaction
objects; each Transaction
within a Batch
is executed and then
consolidated to generate a BatchExecutionResult
.
In order for a Scheduler
to execute batches, its associated SchedulerExecutionInterface
must be consumed by a component responsible for iterating over the Transaction
s and providing
ExecutionTaskCompletionNotification
s back to the Scheduler
via the
SchedulerExecutionInterface
.
Modules
multi | A |
parallel | |
serial | A |
Structs
BatchExecutionResult | Result of executing a batch. |
ExecutionTask | A transation and associated information required to execute it. |
InvalidTransactionResult |
Enums
ExecutionTaskCompletionNotification | |
SchedulerError |
Traits
ExecutionTaskCompletionNotifier | Allows sending a notification to the scheduler that execution of a task has completed. |
Scheduler | Schedules batches and transactions and returns execution results. |
SchedulerFactory | Creates new schedulers |