Class TimerWithinGuardForge
java.lang.Object
com.espertech.esper.common.internal.epl.pattern.guard.TimerWithinGuardForge
- All Implemented Interfaces:
GuardForge
,ScheduleHandleCallbackProvider
public class TimerWithinGuardForge
extends Object
implements GuardForge, ScheduleHandleCallbackProvider
Forge for
TimerWithinGuard
instances.-
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)
-
Constructor Details
-
TimerWithinGuardForge
public TimerWithinGuardForge()
-
-
Method Details
-
setScheduleCallbackId
public void setScheduleCallbackId(int id) - Specified by:
setScheduleCallbackId
in interfaceScheduleHandleCallbackProvider
-
getScheduleCallbackId
public int getScheduleCallbackId()- Specified by:
getScheduleCallbackId
in interfaceScheduleHandleCallbackProvider
-
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
-
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
-