@Override public void close() throws Exception { super.close(); functionsClosed = true; FunctionUtils.closeFunction(userFunction); }
public void close() { this.shouldClose = true; } }
@Override public void close() throws Exception { super.close(); finalWatermarks[getRuntimeContext().getIndexOfThisSubtask()] = watermarks; } }
@Override public void close() throws Exception { IN_CLOSE.trigger(); FINISH_CLOSE.await(); super.close(); } }
@Override public void close() throws Exception { // verify that the timer service is still running Assert.assertTrue( ((SystemProcessingTimeService) getContainingTask().getProcessingTimeService()) .isAlive()); super.close(); } }
@Override public void close() throws Exception { super.close(); }
@Override public void close() throws Exception { super.close(); } }
@Override public void close() throws Exception { super.close(); closed = true; }
@Override public void close() throws Exception { super.close(); functionsClosed = true; FunctionUtils.closeFunction(userFunction); }
@Override public void close() throws Exception { super.close(); // emit a final watermark advanceWatermark(); } }
@Override public void close() throws Exception { super.close(); functionsClosed = true; FunctionUtils.closeFunction(userFunction); }
@Override public void close() throws Exception { super.close(); functionsClosed = true; function.close(); }
@Override public void close() throws Exception { for (QueryRuntimeHandler executor: this.siddhiRuntimeHandlers.values()) { executor.shutdown(); } this.siddhiRuntimeHandlers.clear(); super.close(); }
@Override public void close() throws Exception { super.close(); functionsClosed = true; FunctionUtils.closeFunction(userFunction); }
@Override public void close() throws Exception { super.close(); collector = null; triggerContext = null; functionsClosed = true; windowAggregator.close(); }
@Override public void close() throws Exception { LOG.info("Closing QueyrableWindowOperator {}.", this); super.close(); if (registrationService != null) { registrationService.stop(); } closeActorSystem(timeout); }
@Override public void close() throws Exception { LOG.info("Closing QueyrableWindowOperator {}.", this); super.close(); if(registrationService != null) { registrationService.stop(); } closeActorSystem(timeout); }
public void close() { this.shouldClose = true; } }
@Override public void close() throws Exception { if (isCollectMetricEnabled()) { LongCounter rowCountAcc = new LongCounter(counter.getCount()); String rowCountAccName = ACCUMULATOR_PREFIX + getOperatorConfig().getVertexID(); getRuntimeContext().addAccumulator(rowCountAccName, rowCountAcc); } super.close(); closed = true; }