Class OutputConditionPolledExpressionState
java.lang.Object
com.espertech.esper.common.internal.epl.output.polled.OutputConditionPolledExpressionState
- All Implemented Interfaces:
OutputConditionPolledState
public class OutputConditionPolledExpressionState
extends Object
implements OutputConditionPolledState
Output condition for output rate limiting that handles when-then expressions for controlling output.
-
Constructor Summary
ConstructorDescriptionOutputConditionPolledExpressionState
(int totalNewEventsCount, int totalOldEventsCount, int totalNewEventsSum, int totalOldEventsSum, Long lastOutputTimestamp) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
void
setLastOutputTimestamp
(Long lastOutputTimestamp) void
setTotalNewEventsCount
(int totalNewEventsCount) void
setTotalNewEventsSum
(int totalNewEventsSum) void
setTotalOldEventsCount
(int totalOldEventsCount) void
setTotalOldEventsSum
(int totalOldEventsSum)
-
Constructor Details
-
OutputConditionPolledExpressionState
public OutputConditionPolledExpressionState(int totalNewEventsCount, int totalOldEventsCount, int totalNewEventsSum, int totalOldEventsSum, Long lastOutputTimestamp)
-
-
Method Details
-
getTotalNewEventsCount
public int getTotalNewEventsCount() -
setTotalNewEventsCount
public void setTotalNewEventsCount(int totalNewEventsCount) -
getTotalOldEventsCount
public int getTotalOldEventsCount() -
setTotalOldEventsCount
public void setTotalOldEventsCount(int totalOldEventsCount) -
getTotalNewEventsSum
public int getTotalNewEventsSum() -
setTotalNewEventsSum
public void setTotalNewEventsSum(int totalNewEventsSum) -
getTotalOldEventsSum
public int getTotalOldEventsSum() -
setTotalOldEventsSum
public void setTotalOldEventsSum(int totalOldEventsSum) -
getLastOutputTimestamp
-
setLastOutputTimestamp
-