Class TimerWithinOrMaxCountGuardFactory
java.lang.Object
com.espertech.esper.common.internal.epl.pattern.guard.TimerWithinOrMaxCountGuardFactory
- All Implemented Interfaces:
GuardFactory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
computeNumCountTo
(MatchedEventMap beginState, PatternAgentInstanceContext context) long
computeTime
(MatchedEventMap beginState, PatternAgentInstanceContext context) int
makeGuard
(PatternAgentInstanceContext context, MatchedEventMap beginState, Quitable quitable, Object guardState) Constructs a guard instance.void
setCountEval
(ExprEvaluator countEval) void
setDeltaCompute
(PatternDeltaCompute deltaCompute) void
setOptionalConvertor
(MatchedEventConvertor optionalConvertor) void
setScheduleCallbackId
(int scheduleCallbackId)
-
Field Details
-
EPTYPE
-
-
Constructor Details
-
TimerWithinOrMaxCountGuardFactory
public TimerWithinOrMaxCountGuardFactory()
-
-
Method Details
-
setDeltaCompute
-
setOptionalConvertor
-
setCountEval
-
setScheduleCallbackId
public void setScheduleCallbackId(int scheduleCallbackId) -
getScheduleCallbackId
public int getScheduleCallbackId() -
computeTime
-
computeNumCountTo
-
makeGuard
public Guard makeGuard(PatternAgentInstanceContext context, MatchedEventMap beginState, Quitable quitable, Object guardState) Description copied from interface:GuardFactory
Constructs a guard instance.- Specified by:
makeGuard
in interfaceGuardFactory
- Parameters:
context
- - services for use by guardbeginState
- - the prior matching eventsquitable
- - to use for indicating the guard has quitguardState
- - state node for guard- Returns:
- guard instance
-