@Override
    public ProcessingMode getProcessingMode() {
        if (isStreamCurrentEvents) {
            return ProcessingMode.RESET;
        } else {
            return ProcessingMode.BATCH;
        }
    }
Implementation of {@link WindowProcessor} which represent a Batch Window operating based on time.
modules/siddhi-core/src/main/java/io/siddhi/core/query/processor/stream/window/TimeBatchWindowProcessor.java