官术网_书友最值得收藏!

ActivationListener

This optional interface enables callbacks that are somewhat similar to setup and teardown but they occur at a different point during deployment and there are a few cases where using this interface may be necessary.

  • activate: This is called after the operator along with its ports was initialized (set up) and immediately before processing of tuples starts. As an example, this is a place for initialization logic that depends on the initialization of the operator ports, such as obtaining the tuple schema or other port attributes.
  • deactivate: This should perform the opposite of activate.
主站蜘蛛池模板: 隆昌县| 彰化市| 三门县| 阿勒泰市| 乌海市| 大丰市| 蒙阴县| 沭阳县| 商都县| 庆城县| 铁力市| 平乡县| 泾川县| 汝阳县| 昌邑市| 莒南县| 隆昌县| 加查县| 香港 | 浏阳市| 太谷县| 丹凤县| 冷水江市| 洛南县| 新巴尔虎右旗| 竹山县| 长阳| 六安市| 温州市| 喀喇沁旗| 花垣县| 繁峙县| 成安县| 井冈山市| 仁寿县| 金乡县| 安阳市| 合作市| 灯塔市| 城口县| 南通市|