[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Container for events per time slot. The time is provided as long milliseconds by client classes. Events are for a specified timestamp and the implementation creates and adds the event to a slot for that timestamp. Events can be expired from the window via the expireEvents method when their timestamp is before (or less then) an expiry timestamp passed in. Expiry removes the event from the window. The window allows iteration through its contents. It is assumed that the timestamp passed to the add method is ascending. The window is backed by a List reflecting the timestamp order rather then any sorted map or linked hash map for performance reasons.

Namespace: net.esper.collection
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Public NotInheritable Class TimeWindow _
	Implements IEnumerable(Of EventBean), IEnumerable
C#
public sealed class TimeWindow : IEnumerable<EventBean>, IEnumerable
Visual C++
public ref class TimeWindow sealed : IEnumerable<EventBean^>, IEnumerable

Inheritance Hierarchy

System.Object
  net.esper.collection.TimeWindow