|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.view.OutputConditionPolledCount
public final class OutputConditionPolledCount
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.
Constructor Summary | |
---|---|
OutputConditionPolledCount(int eventRate,
VariableReader variableReader)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
boolean |
updateOutputCondition(int newDataCount,
int oldDataCount)
Update the output condition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OutputConditionPolledCount(int eventRate, VariableReader variableReader)
eventRate
- is the number of old or new events that
must arrive in order for the condition to be satisfiedvariableReader
- is for reading the variable value, if a variable was supplied, else nullMethod Detail |
---|
public final boolean updateOutputCondition(int newDataCount, int oldDataCount)
OutputConditionPolled
updateOutputCondition
in interface OutputConditionPolled
newDataCount
- - number of new events incomingoldDataCount
- - number of old events incomingpublic final java.lang.String toString()
toString
in class java.lang.Object
|
© 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 |