@Override
    public void process(ComplexEventChunk complexEventChunk) {
        threadBarrier.enter();
        try {
            next.process(complexEventChunk);
        } finally {
            threadBarrier.exit();
        }
    }
Process the handed StreamEvent

@param complexEventChunk event chunk to be processed
modules/siddhi-core/src/main/java/io/siddhi/core/query/input/stream/single/EntryValveProcessor.java