@Override
    public void setNextExecutor(Executor executor) {
        next = executor;
    }
Set next executor element in executor chain

@param executor Executor to be set as next element of executor chain
modules/siddhi-core/src/main/java/io/siddhi/core/query/input/stream/single/EntryValveExecutor.java