this.agentInstanceContext = agentInstanceContext;
this.timeWindowViewFactory = timeWindowViewFactory;
this.millisecondsBeforeExpiry = millisecondsBeforeExpiry;
this.viewUpdatedCollection = viewUpdatedCollection;
this.scheduleSlot = agentInstanceContext.getStatementContext().getScheduleBucket().allocateSlot();
this.timeWindow = new TimeWindow(agentInstanceContext.isRemoveStream());
ScheduleHandleCallback callback = new ScheduleHandleCallback() {
public void scheduledTrigger(ExtensionServicesContext extensionServicesContext)
{
if (InstrumentationHelper.ENABLED) { InstrumentationHelper.get().qViewScheduledEval(TimeWindowView.this, TimeWindowView.this.timeWindowViewFactory.getViewName());}