Class OutputConditionCountFactory
java.lang.Object
com.espertech.esper.common.internal.epl.output.condition.OutputConditionCountFactory
- All Implemented Interfaces:
OutputConditionFactory
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EPTypeClass
protected final long
protected final StateMgmtSetting
protected final Variable
-
Constructor Summary
ConstructorDescriptionOutputConditionCountFactory
(int eventRate, Variable variable, StateMgmtSetting stateMgmtSetting) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionlong
instantiateOutputCondition
(AgentInstanceContext agentInstanceContext, OutputCallback outputCallback)
-
Field Details
-
EPTYPE
-
eventRate
protected final long eventRate -
variable
-
stateMgmtSetting
-
-
Constructor Details
-
OutputConditionCountFactory
public OutputConditionCountFactory(int eventRate, Variable variable, StateMgmtSetting stateMgmtSetting) Constructor.- Parameters:
eventRate
- is the number of old or new events that must arrive in order for the condition to be satisfiedvariable
- variablestateMgmtSetting
- state management settings
-
-
Method Details
-
instantiateOutputCondition
public OutputCondition instantiateOutputCondition(AgentInstanceContext agentInstanceContext, OutputCallback outputCallback) - Specified by:
instantiateOutputCondition
in interfaceOutputConditionFactory
-
getEventRate
public long getEventRate() -
getVariable
-