com.espertech.esper.core.service
Interface ExpressionResultCacheForDeclaredExprLastColl

All Known Implementing Classes:
ExpressionResultCacheForDeclaredExprLastCollImpl

public interface ExpressionResultCacheForDeclaredExprLastColl

On the level of expression declaration: a) for non-enum evaluation and for enum-evaluation a separate cache b) The cache is keyed by the prototype-node and verified by a events-per-stream (EventBean[]) that is maintained or rewritten. NOTE: ExpressionResultCacheEntry should not be held onto since the instance returned can be reused.


Method Summary
 ExpressionResultCacheEntry<EventBean[],java.util.Collection<EventBean>> getDeclaredExpressionLastColl(java.lang.Object node, EventBean[] eventsPerStream)
           
 void saveDeclaredExpressionLastColl(java.lang.Object node, EventBean[] eventsPerStream, java.util.Collection<EventBean> result)
           
 

Method Detail

getDeclaredExpressionLastColl

ExpressionResultCacheEntry<EventBean[],java.util.Collection<EventBean>> getDeclaredExpressionLastColl(java.lang.Object node,
                                                                                                      EventBean[] eventsPerStream)

saveDeclaredExpressionLastColl

void saveDeclaredExpressionLastColl(java.lang.Object node,
                                    EventBean[] eventsPerStream,
                                    java.util.Collection<EventBean> result)

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