Class TimerIntervalObserverFactory
java.lang.Object
com.espertech.esper.common.internal.epl.pattern.observer.TimerIntervalObserverFactory
- All Implemented Interfaces:
ObserverFactory
Factory for making observer instances.
-
Field Summary
Modifier and TypeFieldDescriptionprotected PatternDeltaCompute
static final EPTypeClass
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
makeObserver
(PatternAgentInstanceContext context, MatchedEventMap beginState, ObserverEventEvaluator observerEventEvaluator, Object observerState, boolean isFilterChildNonQuitting) Make an observer instance.void
setDeltaCompute
(PatternDeltaCompute deltaCompute) void
setScheduleCallbackId
(int scheduleCallbackId)
-
Field Details
-
EPTYPE
-
scheduleCallbackId
protected int scheduleCallbackId -
deltaCompute
-
-
Constructor Details
-
TimerIntervalObserverFactory
public TimerIntervalObserverFactory()
-
-
Method Details
-
setScheduleCallbackId
public void setScheduleCallbackId(int scheduleCallbackId) -
setDeltaCompute
-
getDeltaCompute
-
getScheduleCallbackId
public int getScheduleCallbackId() -
makeObserver
public EventObserver makeObserver(PatternAgentInstanceContext context, MatchedEventMap beginState, ObserverEventEvaluator observerEventEvaluator, Object observerState, boolean isFilterChildNonQuitting) Description copied from interface:ObserverFactory
Make an observer instance.- Specified by:
makeObserver
in interfaceObserverFactory
- Parameters:
context
- - services that may be required by observer implementationbeginState
- - start state for observerobserverEventEvaluator
- - receiver for events observedobserverState
- - state node for observerisFilterChildNonQuitting
- true for non-quitting filter- Returns:
- observer instance
-
isNonRestarting
public boolean isNonRestarting()- Specified by:
isNonRestarting
in interfaceObserverFactory
-