public boolean getAndSetIsProcessed(boolean isProcessed) {
        return processed.getAndSet(isProcessed);
    }
EventExchangeHolder that holds data for StreamJunction event exchange
modules/siddhi-core/src/main/java/io/siddhi/core/util/event/handler/EventExchangeHolder.java