com.espertech.esper.collection
Interface ViewUpdatedCollection

All Known Implementing Classes:
IStreamRandomAccess, IStreamRelativeAccess, PriorEventBufferMulti, PriorEventBufferSingle, PriorEventBufferUnbound

public interface ViewUpdatedCollection

A general-purpose collection interface for collections updated by view data.

Views post delta-data in terms of new data (insert stream) events and old data (remove stream) event that leave a window.


Method Summary
 void destroy()
          De-allocate resources held by the collection.
 int getNumEventsInsertBuf()
           
 void update(EventBean[] newData, EventBean[] oldData)
          Accepts view insert and remove stream.
 

Method Detail

update

void update(EventBean[] newData,
            EventBean[] oldData)
Accepts view insert and remove stream.

Parameters:
newData - is the insert stream events or null if no data
oldData - is the remove stream events or null if no data

destroy

void destroy()
De-allocate resources held by the collection.


getNumEventsInsertBuf

int getNumEventsInsertBuf()

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com