protected void stabilizeStates(long timestamp) {
        for (int i = 0; i < allStateProcessorsSize; i++) {
            allStateProcessors.get(i).expireEvents(timestamp);
        }
        if (stateProcessorsForStreamSize != 0) {
            stateProcessorsForStream.get(0).updateState();
        }
    }
{StreamJunction.Receiver} implementation to receive events into pattern queries
with single stream.
modules/siddhi-core/src/main/java/io/siddhi/core/query/input/stream/state/receiver/PatternSingleProcessStreamReceiver.java