public class PerSnapshotOutputRateLimiter extends SnapshotOutputRateLimiter
lockWrapper, siddhiQueryContext, stateEventCloner, streamEventCloner| Constructor and Description |
|---|
PerSnapshotOutputRateLimiter(String id,
Long value,
ScheduledExecutorService scheduledExecutorService,
WrappedSnapshotOutputRateLimiter wrappedSnapshotOutputRateLimiter,
SiddhiQueryContext siddhiQueryContext) |
| Modifier and Type | Method and Description |
|---|---|
SnapshotOutputRateLimiter |
clone(String key,
WrappedSnapshotOutputRateLimiter wrappedSnapshotOutputRateLimiter) |
Map<String,Object> |
currentState() |
void |
process(ComplexEventChunk complexEventChunk) |
void |
restoreState(Map<String,Object> state) |
void |
start() |
void |
stop() |
cloneComplexEvent, sendToCallBacks, setQueryLock, setStateEventCloner, setStreamEventClonerpublic PerSnapshotOutputRateLimiter(String id, Long value, ScheduledExecutorService scheduledExecutorService, WrappedSnapshotOutputRateLimiter wrappedSnapshotOutputRateLimiter, SiddhiQueryContext siddhiQueryContext)
public void process(ComplexEventChunk complexEventChunk)
process in interface Schedulableprocess in class SnapshotOutputRateLimiterpublic SnapshotOutputRateLimiter clone(String key, WrappedSnapshotOutputRateLimiter wrappedSnapshotOutputRateLimiter)
clone in class SnapshotOutputRateLimiterpublic void start()
start in class SnapshotOutputRateLimiterpublic void stop()
stop in class SnapshotOutputRateLimiterpublic Map<String,Object> currentState()
currentState in class SnapshotOutputRateLimiterpublic void restoreState(Map<String,Object> state)
restoreState in class SnapshotOutputRateLimiterCopyright © 2019. All rights reserved.