Class SampleCountDefinition

Assembly: redb.Route.dll

Leaf definition that samples messages by passing every N-th message (count-based).

public sealed class SampleCountDefinition : ProcessorDefinition, IProcessorDefinition

Inheritance

Object→ProcessorDefinition→SampleCountDefinition

Implements

Inherited Members

Properties

MessageFrequency

Gets the message frequency — every N-th message passes.

public long MessageFrequency { get; }

Methods

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)

Constructors

SampleCountDefinition(long)

Creates a sampling definition that allows every Nth message through.