|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.view.OutputConditionBase
com.espertech.esper.epl.view.OutputConditionExpression
public class OutputConditionExpression
Output condition for output rate limiting that handles when-then expressions for controlling output.
Field Summary |
---|
Fields inherited from class com.espertech.esper.epl.view.OutputConditionBase |
---|
outputCallback |
Constructor Summary | |
---|---|
OutputConditionExpression(OutputCallback outputCallback,
AgentInstanceContext agentInstanceContext,
OutputConditionExpressionFactory parent,
boolean isStartConditionOnCreation)
|
Method Summary | |
---|---|
void |
stop()
Stops the underlying resources. |
void |
terminated()
|
void |
update(java.lang.Object newValue,
java.lang.Object oldValue)
Indicate a change in variable value. |
void |
updateOutputCondition(int newEventsCount,
int oldEventsCount)
Update the output condition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OutputConditionExpression(OutputCallback outputCallback, AgentInstanceContext agentInstanceContext, OutputConditionExpressionFactory parent, boolean isStartConditionOnCreation)
Method Detail |
---|
public void updateOutputCondition(int newEventsCount, int oldEventsCount)
OutputCondition
updateOutputCondition
in interface OutputCondition
newEventsCount
- - number of new events incomingoldEventsCount
- - number of old events incomingpublic void update(java.lang.Object newValue, java.lang.Object oldValue)
VariableChangeCallback
update
in interface VariableChangeCallback
newValue
- new valueoldValue
- old valuepublic void stop()
StopCallback
stop
in interface StopCallback
public void terminated()
terminated
in interface OutputCondition
terminated
in class OutputConditionBase
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |