public SingleThreadEntryValve( ExecutionPlanContext executionPlanContext, InputProcessor inputProcessor) { this.lock = executionPlanContext.getSharedLock(); if (lock == null) { lock = new ReentrantLock(); } this.inputProcessor = inputProcessor; }
private void sendEvent() { long currentTime = executionPlanContext.getTimestampGenerator().currentTime(); streamJunction.sendEvent(new Event(currentTime, new Object[] {currentTime})); }