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

Constructor.

Namespace: net.esper.view.window
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	timestampFieldName As String, _
	secondsBeforeExpiry As Double _
)
C#
public ExternallyTimedWindowView (
	string timestampFieldName,
	double secondsBeforeExpiry
)
Visual C++
public:
ExternallyTimedWindowView (
	String^ timestampFieldName, 
	double secondsBeforeExpiry
)

Parameters

timestampFieldName
System.String
is the field name containing a long timestamp value that should be in ascending order for the natural order of events and is intended to reflect System.currentTimeInMillis but does not necessarily have to.
secondsBeforeExpiry
System.Double
is the number of seconds before events gets pushed out of the window as oldData in the update method. The view compares each events timestamp against the newest event timestamp and those with a delta greater then secondsBeforeExpiry are pushed out of the window.