AdvanceTimeGenerationSettings Constructor (TimeSpan, TimeSpan)

Initializes a new instance of the AdvanceTimeSettings class with the specified frequency and delay settings.

Namespace:  Microsoft.ComplexEventProcessing
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

Syntax

public AdvanceTimeGenerationSettings(
    TimeSpan duration,
    TimeSpan delay
)

Parameters

  • duration
    Type: System.TimeSpan
    Defines the application time span that must elapse since the last Current Time Increment (CTI) in terms of input event timestamps before the engine advances time again by generating a CTI event.
  • delay
    Type: System.TimeSpan
    Defines the timestamp of the generated CTIs as a delay of time T with respect to the last received event. Smaller values reduce latency. Larger values increase the window in which out-of-order events can be received.

Remarks

CTIs are used to commit sequences of events and release computed results to the query output by asserting to the StreamInsight server that certain parts of the timeline will not change any more. Hence, it is crucial to enqueue CTIs along with events into the input event stream in order to produce any result and to flush the state of stateful operators. For more information, see Advancing Application Time.

See Also

Reference

AdvanceTimeGenerationSettings Class

AdvanceTimeGenerationSettings Overload

Microsoft.ComplexEventProcessing Namespace