Class OutputConditionPolledCrontab
java.lang.Object
com.espertech.esper.common.internal.epl.output.polled.OutputConditionPolledCrontab
- All Implemented Interfaces:
OutputConditionPolled
Output condition handling crontab-at schedule output.
-
Field Summary
Fields inherited from interface com.espertech.esper.common.internal.epl.output.polled.OutputConditionPolled
EPTYPE
-
Constructor Summary
ConstructorDescriptionOutputConditionPolledCrontab
(ExprEvaluatorContext exprEvaluatorContext, OutputConditionPolledCrontabState state) -
Method Summary
Modifier and TypeMethodDescriptiongetState()
final boolean
updateOutputCondition
(int newEventsCount, int oldEventsCount) Update the output condition.
-
Constructor Details
-
OutputConditionPolledCrontab
public OutputConditionPolledCrontab(ExprEvaluatorContext exprEvaluatorContext, OutputConditionPolledCrontabState state)
-
-
Method Details
-
getState
- Specified by:
getState
in interfaceOutputConditionPolled
-
updateOutputCondition
public final 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
-