|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.expression.OutputLimitSpec
public class OutputLimitSpec
Spec for building an EventBatch.
Constructor Summary | |
---|---|
OutputLimitSpec(double timeRate,
boolean displayLastOnly)
Ctor. |
|
OutputLimitSpec(int eventRate,
boolean displayLastOnly)
Ctor. |
Method Summary | |
---|---|
int |
getEventRate()
Returns the event rate. |
double |
getTimeRate()
Returns the rate in seconds, if supplied, or zero if not supplied. |
boolean |
isDisplayLastOnly()
Returns true to output the last event only, or false to output all events. |
boolean |
isEventLimit()
Returns the number of events, or zero if no number of events was supplied. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OutputLimitSpec(int eventRate, boolean displayLastOnly)
eventRate
- - the number of events to batch.displayLastOnly
- indicates whether the output should be all or only the last arriving event.public OutputLimitSpec(double timeRate, boolean displayLastOnly)
timeRate
- - the number of seconds to batch for.displayLastOnly
- indicates whether the output should be all or only the last arriving event.Method Detail |
---|
public int getEventRate()
public boolean isEventLimit()
public double getTimeRate()
public boolean isDisplayLastOnly()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |