Interface ExpressionResultCacheForDeclaredExprLastValue
- All Known Implementing Classes:
ExpressionResultCacheForDeclaredExprLastValueMulti
,ExpressionResultCacheForDeclaredExprLastValueNone
,ExpressionResultCacheForDeclaredExprLastValueSingle
public interface ExpressionResultCacheForDeclaredExprLastValue
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: ExpressionResultCacheForDeclaredExprLastValue should not be held onto since the instance returned can be reused.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getDeclaredExpressionLastValue
(Object node, EventBean[] eventsPerStream) void
saveDeclaredExpressionLastValue
(Object node, EventBean[] eventsPerStream, Object result)
-
Field Details
-
EPTYPE
-
-
Method Details
-
cacheEnabled
boolean cacheEnabled() -
getDeclaredExpressionLastValue
ExpressionResultCacheEntryEventBeanArrayAndObj getDeclaredExpressionLastValue(Object node, EventBean[] eventsPerStream) -
saveDeclaredExpressionLastValue
-