com.espertech.esper.core.service
Class ExpressionResultCacheServiceThreadlocal

java.lang.Object
  extended by com.espertech.esper.core.service.ExpressionResultCacheServiceThreadlocal
All Implemented Interfaces:
ExpressionResultCacheService

public class ExpressionResultCacheServiceThreadlocal
extends java.lang.Object
implements ExpressionResultCacheService


Constructor Summary
ExpressionResultCacheServiceThreadlocal()
           
 
Method Summary
 void destroy()
           
 ExpressionResultCacheEntry<EventBean[],java.util.Collection<EventBean>> getDeclaredExpressionLastColl(java.lang.Object node, EventBean[] eventsPerStream)
           
 ExpressionResultCacheEntry<EventBean[],java.lang.Object> getDeclaredExpressionLastValue(java.lang.Object node, EventBean[] eventsPerStream)
           
 ExpressionResultCacheEntry<java.lang.Long[],java.lang.Object> getEnumerationMethodLastValue(java.lang.Object node)
           
 ExpressionResultCacheEntry<EventBean,java.util.Collection<EventBean>> getPropertyColl(java.lang.String propertyNameFullyQualified, EventBean reference)
           
 java.util.Deque<ExpressionResultCacheStackEntry> getStack()
           
 void init()
           
 void popContext()
           
 boolean popLambda()
           
 void pushContext(long contextNumber)
           
 void pushStack(ExpressionResultCacheStackEntry lambda)
           
 void saveDeclaredExpressionLastColl(java.lang.Object node, EventBean[] eventsPerStream, java.util.Collection<EventBean> result)
           
 void saveDeclaredExpressionLastValue(java.lang.Object node, EventBean[] eventsPerStream, java.lang.Object result)
           
 void saveEnumerationMethodLastValue(java.lang.Object node, java.lang.Object result)
           
 void savePropertyColl(java.lang.String propertyNameFullyQualified, EventBean reference, java.util.Collection<EventBean> events)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionResultCacheServiceThreadlocal

public ExpressionResultCacheServiceThreadlocal()
Method Detail

destroy

public void destroy()

init

public void init()

pushStack

public void pushStack(ExpressionResultCacheStackEntry lambda)
Specified by:
pushStack in interface ExpressionResultCacheService

popLambda

public boolean popLambda()
Specified by:
popLambda in interface ExpressionResultCacheService

getStack

public java.util.Deque<ExpressionResultCacheStackEntry> getStack()
Specified by:
getStack in interface ExpressionResultCacheService

getPropertyColl

public ExpressionResultCacheEntry<EventBean,java.util.Collection<EventBean>> getPropertyColl(java.lang.String propertyNameFullyQualified,
                                                                                             EventBean reference)
Specified by:
getPropertyColl in interface ExpressionResultCacheService

savePropertyColl

public void savePropertyColl(java.lang.String propertyNameFullyQualified,
                             EventBean reference,
                             java.util.Collection<EventBean> events)
Specified by:
savePropertyColl in interface ExpressionResultCacheService

getDeclaredExpressionLastValue

public ExpressionResultCacheEntry<EventBean[],java.lang.Object> getDeclaredExpressionLastValue(java.lang.Object node,
                                                                                               EventBean[] eventsPerStream)
Specified by:
getDeclaredExpressionLastValue in interface ExpressionResultCacheService

saveDeclaredExpressionLastValue

public void saveDeclaredExpressionLastValue(java.lang.Object node,
                                            EventBean[] eventsPerStream,
                                            java.lang.Object result)
Specified by:
saveDeclaredExpressionLastValue in interface ExpressionResultCacheService

getDeclaredExpressionLastColl

public ExpressionResultCacheEntry<EventBean[],java.util.Collection<EventBean>> getDeclaredExpressionLastColl(java.lang.Object node,
                                                                                                             EventBean[] eventsPerStream)
Specified by:
getDeclaredExpressionLastColl in interface ExpressionResultCacheService

saveDeclaredExpressionLastColl

public void saveDeclaredExpressionLastColl(java.lang.Object node,
                                           EventBean[] eventsPerStream,
                                           java.util.Collection<EventBean> result)
Specified by:
saveDeclaredExpressionLastColl in interface ExpressionResultCacheService

getEnumerationMethodLastValue

public ExpressionResultCacheEntry<java.lang.Long[],java.lang.Object> getEnumerationMethodLastValue(java.lang.Object node)
Specified by:
getEnumerationMethodLastValue in interface ExpressionResultCacheService

saveEnumerationMethodLastValue

public void saveEnumerationMethodLastValue(java.lang.Object node,
                                           java.lang.Object result)
Specified by:
saveEnumerationMethodLastValue in interface ExpressionResultCacheService

pushContext

public void pushContext(long contextNumber)
Specified by:
pushContext in interface ExpressionResultCacheService

popContext

public void popContext()
Specified by:
popContext in interface ExpressionResultCacheService

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