|
||||||||||
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.OutputConditionCount
public final class OutputConditionCount
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 |
---|
Fields inherited from class com.espertech.esper.epl.view.OutputConditionBase |
---|
outputCallback |
Constructor Summary | |
---|---|
OutputConditionCount(OutputCallback outputCallback,
long eventRate,
VariableReader variableReader)
|
Method Summary | |
---|---|
int |
getNewEventsCount()
Returns the number of new events. |
int |
getOldEventsCount()
Returns the number of old events. |
void |
terminated()
|
java.lang.String |
toString()
|
void |
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 OutputConditionCount(OutputCallback outputCallback, long eventRate, VariableReader variableReader)
Method Detail |
---|
public int getNewEventsCount()
public int getOldEventsCount()
public final void updateOutputCondition(int newDataCount, int oldDataCount)
OutputCondition
updateOutputCondition
in interface OutputCondition
newDataCount
- - number of new events incomingoldDataCount
- - number of old events incomingpublic final java.lang.String toString()
toString
in class java.lang.Object
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 |