BatchContainerBatch
class
Namespace: Orleans.Streams
A batch of batch containers, that if configured (see StreamPullingAgentOptions), will be the data pulled by the PersistenStreamPullingAgent from it's underlying cache
[Orleans.GenerateSerializer]public sealed class BatchContainerBatch : IBatchContainer, IBatchContainerBatchConstructors
Properties
BatchContainersGets the batch containers comprising this batchSequenceTokenGets the stream Sequence Token for the start of this batch. Derived from the first batch container in the batch.StreamIdGets the stream identifier for the stream this batch is part of. Derived from the first batch container in the batch.
Methods
GetEventsGets events of a specific type from the batch.ImportRequestContextGives an opportunity toIBatchContainerto set any data in theRequestContextbefore thisIBatchContaineris sent to consumers. It can be the data that was set at the time event was generated and enqueued into the persistent provider or any other data.
