/** * Execute {@link StreamOperator#open()} of each operator in the chain of this * {@link StreamTask}. Opening happens from <b>tail to head</b> operator in the chain, contrary * to {@link StreamOperator#close()} which happens <b>head to tail</b> * (see {@link #closeAllOperators()}. */ private void openAllOperators() throws Exception { for (StreamOperator<?> operator : operatorChain.getAllOperators()) { if (operator != null) { operator.open(); } } }
/** * Calls {@link StreamOperator#open()}. This also * calls {@link StreamOperator#setup(StreamTask, StreamConfig, Output)} * if it was not called before. */ public void open() throws Exception { if (!initializeCalled) { initializeEmptyState(); } operator.open(); }
operator.open();
operator.open();
/** * Execute {@link StreamOperator#open()} of each operator in the chain of this * {@link StreamTask}. Opening happens from <b>tail to head</b> operator in the chain, contrary * to {@link StreamOperator#close()} which happens <b>head to tail</b> * (see {@link #closeAllOperators()}. */ private void openAllOperators() throws Exception { for (StreamOperator<?> operator : operatorChain.getAllOperators()) { if (operator != null) { operator.open(); } } }
/** * Execute {@link StreamOperator#open()} of each operator in the chain of this * {@link StreamTask}. Opening happens from <b>tail to head</b> operator in the chain, contrary * to {@link StreamOperator#close()} which happens <b>head to tail</b> * (see {@link #closeAllOperators()}. */ private void openAllOperators() throws Exception { for (StreamOperator<?> operator : operatorChain.getAllOperators()) { if (operator != null) { operator.open(); } } }
/** * Execute {@link StreamOperator#open()} of each operator in the chain of this * {@link StreamTask}. Opening happens from <b>tail to head</b> operator in the chain, contrary * to {@link StreamOperator#close()} which happens <b>head to tail</b> * (see {@link #closeAllOperators()}. */ private void openAllOperators() throws Exception { for (StreamOperator<?> operator : operatorChain.getAllOperators()) { if (operator != null) { operator.open(); } } }