Redigera

Dela via


BatchContainerBatch Class

Definition

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 : Orleans.Streams.IBatchContainerBatch
[<Orleans.GenerateSerializer>]
type BatchContainerBatch = class
    interface IBatchContainerBatch
    interface IBatchContainer
Public NotInheritable Class BatchContainerBatch
Implements IBatchContainerBatch
Inheritance
BatchContainerBatch
Attributes
Implements

Constructors

BatchContainerBatch(List<IBatchContainer>)

Properties

BatchContainers

Gets the batch containers comprising this batch

SequenceToken

Gets the stream Sequence Token for the start of this batch. Derived from the first batch container in the batch.

StreamId

Gets the stream identifier for the stream this batch is part of. Derived from the first batch container in the batch.

Methods

GetEvents<T>()

Gets events of a specific type from the batch.

ImportRequestContext()

Gives an opportunity to IBatchContainer to set any data in the RequestContext before this IBatchContainer is 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.

Applies to