public class AggregationGroupByWindowedPerSnapshotOutputRateLimiter extends AggregationWindowedPerSnapshotOutputRateLimiter
| Modifier and Type | Field and Description |
|---|---|
protected LinkedList<GroupedComplexEvent> |
eventList |
protected String |
queryName |
aggregateAttributePositionList, comparator, id, scheduledExecutorService, scheduledTime, scheduler, valueexecutionPlanContext, lockWrapper, stateEventCloner, streamEventCloner| Modifier | Constructor and Description |
|---|---|
protected |
AggregationGroupByWindowedPerSnapshotOutputRateLimiter(String id,
Long value,
ScheduledExecutorService scheduledExecutorService,
List<Integer> aggregateAttributePositionList,
WrappedSnapshotOutputRateLimiter wrappedSnapshotOutputRateLimiter,
ExecutionPlanContext executionPlanContext,
String queryName) |
| Modifier and Type | Method and Description |
|---|---|
SnapshotOutputRateLimiter |
clone(String key,
WrappedSnapshotOutputRateLimiter wrappedSnapshotOutputRateLimiter) |
Object[] |
currentState() |
void |
process(ComplexEventChunk complexEventChunk) |
void |
restoreState(Object[] state) |
start, stopcloneComplexEvent, sendToCallBacks, setQueryLock, setStateEventCloner, setStreamEventClonerprotected LinkedList<GroupedComplexEvent> eventList
protected String queryName
protected AggregationGroupByWindowedPerSnapshotOutputRateLimiter(String id, Long value, ScheduledExecutorService scheduledExecutorService, List<Integer> aggregateAttributePositionList, WrappedSnapshotOutputRateLimiter wrappedSnapshotOutputRateLimiter, ExecutionPlanContext executionPlanContext, String queryName)
public void process(ComplexEventChunk complexEventChunk)
process in interface Schedulableprocess in class AggregationWindowedPerSnapshotOutputRateLimiterpublic Object[] currentState()
currentState in class AggregationWindowedPerSnapshotOutputRateLimiterpublic void restoreState(Object[] state)
restoreState in class AggregationWindowedPerSnapshotOutputRateLimiterpublic SnapshotOutputRateLimiter clone(String key, WrappedSnapshotOutputRateLimiter wrappedSnapshotOutputRateLimiter)
clone in class AggregationWindowedPerSnapshotOutputRateLimiterCopyright © 2018 WSO2. All Rights Reserved.