Class TimerWithinGuardFactory
java.lang.Object
com.espertech.esper.common.internal.epl.pattern.guard.TimerWithinGuardFactory
- All Implemented Interfaces:
GuardFactory
Factory for
TimerWithinGuard
instances.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
computeTime
(MatchedEventMap beginState, PatternAgentInstanceContext context) makeGuard
(PatternAgentInstanceContext context, MatchedEventMap beginState, Quitable quitable, Object guardState) Constructs a guard instance.void
setDeltaCompute
(PatternDeltaCompute deltaCompute) void
setScheduleCallbackId
(int scheduleCallbackId)
-
Field Details
-
EPTYPE
-
-
Constructor Details
-
TimerWithinGuardFactory
public TimerWithinGuardFactory()
-
-
Method Details
-
setDeltaCompute
-
setScheduleCallbackId
public void setScheduleCallbackId(int scheduleCallbackId) -
computeTime
-
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
-