Class OutputConditionPolledCountFactory
java.lang.Object
com.espertech.esper.common.internal.epl.output.polled.OutputConditionPolledCountFactory
- All Implemented Interfaces:
OutputConditionPolledFactory
public final class OutputConditionPolledCountFactory
extends Object
implements OutputConditionPolledFactory
Output limit condition that is satisfied when either
the total number of new events arrived or the total number
of old events arrived is greater than a preset value.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmakeFromState
(ExprEvaluatorContext exprEvaluatorContext, OutputConditionPolledState state) makeNew
(ExprEvaluatorContext exprEvaluatorContext) void
setEventRate
(int eventRate) void
setVariable
(Variable variable)
-
Field Details
-
EPTYPE
-
-
Constructor Details
-
OutputConditionPolledCountFactory
public OutputConditionPolledCountFactory()
-
-
Method Details
-
setEventRate
public void setEventRate(int eventRate) -
setVariable
-
makeNew
- Specified by:
makeNew
in interfaceOutputConditionPolledFactory
-
makeFromState
public OutputConditionPolled makeFromState(ExprEvaluatorContext exprEvaluatorContext, OutputConditionPolledState state) - Specified by:
makeFromState
in interfaceOutputConditionPolledFactory
-