TransactionalProjectionOptionsType
PackageFCQRS
Options for a named transactional projection. Use a distinct name for each read model.
Reusing a name resumes its stored progress; do not reuse it for an empty or different model.
Specification
Kind
Type
Members
8
Examples
0
``.ctor``Signature
TransactionalProjectionOptions(name, store)
PollIntervalSignature
this.PollInterval
BatchSizeSignature
this.BatchSize
CatchUpTimeoutSignature
this.CatchUpTimeout
FullScanIntervalSignature
this.FullScanInterval
Summary
| Name | Signature | Synopsis |
|---|---|---|
| ``.ctor`` | TransactionalProjectionOptions(name, store) | No description available. |
| PollInterval | this.PollInterval | Delay between background journal-head queries, after the previous batch finishes. |
| BatchSize | this.BatchSize | Maximum number of events fetched for one persistence ID per query. |
| CatchUpTimeout | this.CatchUpTimeout | Bound for the entire catch-up call, including snapshot capture. |
| FullScanInterval | this.FullScanInterval | How often a query reads every persistence ID's position instead of only recent writes. |
| Store | this.Store | Authoritative journal connection and transactional read-model store. |
| LateWriteWindow | this.LateWriteWindow | How long after taking its journal number a write may commit and still be found by the next query, which reads only recent writes. |
| Name | this.Name | Stable identity of the read model and its durable progress. |
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | |
| store | SqlProjectionStore |
Returns
TransactionalProjectionOptions
Delay between background journal-head queries, after the previous batch finishes. An
aggregate on this node that stores an event starts the next query at once, and
CatchUpAsync captures its own snapshot immediately. Default: one second.
Returns
TimeSpan
Maximum number of events fetched for one persistence ID per query. Default: 500.
Returns
int
Bound for the entire catch-up call, including snapshot capture. Default: 30 seconds.
Returns
TimeSpan
How often a query reads every persistence ID's position instead of only recent writes. The
full scan also finds a write that committed after LateWriteWindow. Default: five minutes.
Returns
TimeSpan
Authoritative journal connection and transactional read-model store.
Returns
SqlProjectionStore
How long after taking its journal number a write may commit and still be found by the next
query, which reads only recent writes. A write that commits later is found by the next full
scan. Default: 30 seconds.
Returns
TimeSpan