AdvanceTimeGenerationSettings Constructor (UInt32, TimeSpan)
Initializes a new instance of the AdvanceTimeSettings class with specified frequency and delay.
Namespace: Microsoft.ComplexEventProcessing
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public AdvanceTimeGenerationSettings(
uint eventCount,
TimeSpan delay
)
Parameters
- eventCount
Type: System.UInt32
Defines the number of events that must be received from the event source before the engine advances time again by generating a Current Time Increment (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