public class ResourceBatchWindowProcessor
extends org.wso2.siddhi.core.query.processor.stream.window.WindowProcessor
implements org.wso2.siddhi.core.query.processor.SchedulingProcessor
WindowProcessor which represent a Resource Batch Window operating based on
the inferred resources count from env:resourceIdentify extension as length.| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceBatchWindowProcessor.ResourceStreamEventList
Resource Stream Event List internal data structure.
|
| Constructor and Description |
|---|
ResourceBatchWindowProcessor() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
currentState() |
org.wso2.siddhi.core.util.Scheduler |
getScheduler() |
protected void |
init(org.wso2.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors,
org.wso2.siddhi.core.util.config.ConfigReader configReader,
boolean outputExpectsExpiredEvents,
org.wso2.siddhi.core.config.SiddhiAppContext siddhiAppContext) |
protected void |
process(org.wso2.siddhi.core.event.ComplexEventChunk<org.wso2.siddhi.core.event.stream.StreamEvent> streamEventChunk,
org.wso2.siddhi.core.query.processor.Processor nextProcessor,
org.wso2.siddhi.core.event.stream.StreamEventCloner streamEventCloner) |
void |
restoreState(Map<String,Object> state) |
void |
setScheduler(org.wso2.siddhi.core.util.Scheduler scheduler) |
void |
start() |
void |
stop() |
init, processEventChunkcloneProcessor, constructStreamEventPopulater, getElementId, getNextProcessor, initProcessor, process, setNextProcessor, setStreamEventCloner, setToLastprotected void init(org.wso2.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors,
org.wso2.siddhi.core.util.config.ConfigReader configReader,
boolean outputExpectsExpiredEvents,
org.wso2.siddhi.core.config.SiddhiAppContext siddhiAppContext)
init in class org.wso2.siddhi.core.query.processor.stream.window.WindowProcessorprotected void process(org.wso2.siddhi.core.event.ComplexEventChunk<org.wso2.siddhi.core.event.stream.StreamEvent> streamEventChunk,
org.wso2.siddhi.core.query.processor.Processor nextProcessor,
org.wso2.siddhi.core.event.stream.StreamEventCloner streamEventCloner)
process in class org.wso2.siddhi.core.query.processor.stream.window.WindowProcessorpublic void start()
start in interface org.wso2.siddhi.core.util.extension.holder.EternalReferencedHolderpublic void stop()
stop in interface org.wso2.siddhi.core.util.extension.holder.EternalReferencedHolderpublic Map<String,Object> currentState()
currentState in interface org.wso2.siddhi.core.util.snapshot.Snapshotablepublic void restoreState(Map<String,Object> state)
restoreState in interface org.wso2.siddhi.core.util.snapshot.Snapshotablepublic org.wso2.siddhi.core.util.Scheduler getScheduler()
getScheduler in interface org.wso2.siddhi.core.query.processor.SchedulingProcessorpublic void setScheduler(org.wso2.siddhi.core.util.Scheduler scheduler)
setScheduler in interface org.wso2.siddhi.core.query.processor.SchedulingProcessorCopyright © 2018 WSO2. All rights reserved.