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