public void setMetaStreamEvent(MetaStreamEvent metaStreamEvent) {
        for (int i = 0, nextLength = metaStreamEvents.length; i < nextLength; i++) {
            MetaStreamEvent streamEvent = metaStreamEvents[i];
            if (streamEvent == null) {
                metaStreamEvents[i] = metaStreamEvent;
                break;
            }
        }
    }
{StreamJunction.Receiver} implementation to receive events to be fed into multi
stream processors which consume multiple streams.
modules/siddhi-core/src/main/java/io/siddhi/core/query/input/MultiProcessStreamReceiver.java