Class OutputConditionPolledTime
java.lang.Object
com.espertech.esper.common.internal.epl.output.polled.OutputConditionPolledTime
- All Implemented Interfaces:
OutputConditionPolled
-
Field Summary
Fields inherited from interface com.espertech.esper.common.internal.epl.output.polled.OutputConditionPolled
EPTYPE
-
Constructor Summary
ConstructorDescriptionOutputConditionPolledTime
(OutputConditionPolledTimeFactory factory, ExprEvaluatorContext context, OutputConditionPolledTimeState state) -
Method Summary
Modifier and TypeMethodDescriptiongetState()
boolean
updateOutputCondition
(int newEventsCount, int oldEventsCount) Update the output condition.
-
Constructor Details
-
OutputConditionPolledTime
public OutputConditionPolledTime(OutputConditionPolledTimeFactory factory, ExprEvaluatorContext context, OutputConditionPolledTimeState state)
-
-
Method Details
-
getState
- Specified by:
getState
in interfaceOutputConditionPolled
-
updateOutputCondition
public boolean updateOutputCondition(int newEventsCount, int oldEventsCount) Description copied from interface:OutputConditionPolled
Update the output condition.- Specified by:
updateOutputCondition
in interfaceOutputConditionPolled
- Parameters:
newEventsCount
- - number of new events incomingoldEventsCount
- - number of old events incoming- Returns:
- indicator whether to output
-