Class TimerWithinOrMaxCountGuardForge
java.lang.Object
com.espertech.esper.common.internal.epl.pattern.guard.TimerWithinOrMaxCountGuardForge
- All Implemented Interfaces:
GuardForge
,ScheduleHandleCallbackProvider
public class TimerWithinOrMaxCountGuardForge
extends Object
implements GuardForge, ScheduleHandleCallbackProvider
-
Field Summary
Modifier and TypeFieldDescriptionprotected MatchedEventConvertorForge
For converting matched-events maps to events-per-stream. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
collectSchedule
(short factoryNodeId, Function<Short, CallbackAttribution> callbackAttribution, List<ScheduleHandleTracked> schedules) int
makeCodegen
(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) void
setGuardParameters
(List<ExprNode> parameters, MatchedEventConvertorForge convertor, StatementCompileTimeServices services) Sets the guard object parameters.void
setScheduleCallbackId
(int id)
-
Field Details
-
convertor
For converting matched-events maps to events-per-stream.
-
-
Constructor Details
-
TimerWithinOrMaxCountGuardForge
public TimerWithinOrMaxCountGuardForge()
-
-
Method Details
-
setGuardParameters
public void setGuardParameters(List<ExprNode> parameters, MatchedEventConvertorForge convertor, StatementCompileTimeServices services) throws GuardParameterException Description copied from interface:GuardForge
Sets the guard object parameters.- Specified by:
setGuardParameters
in interfaceGuardForge
- Parameters:
parameters
- is a list of parametersconvertor
- for converting aservices
- services- Throws:
GuardParameterException
- thrown to indicate a parameter problem
-
setScheduleCallbackId
public void setScheduleCallbackId(int id) - Specified by:
setScheduleCallbackId
in interfaceScheduleHandleCallbackProvider
-
getScheduleCallbackId
public int getScheduleCallbackId()- Specified by:
getScheduleCallbackId
in interfaceScheduleHandleCallbackProvider
-
collectSchedule
public void collectSchedule(short factoryNodeId, Function<Short, CallbackAttribution> callbackAttribution, List<ScheduleHandleTracked> schedules) - Specified by:
collectSchedule
in interfaceGuardForge
-
makeCodegen
public CodegenExpression makeCodegen(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) - Specified by:
makeCodegen
in interfaceGuardForge
-