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

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.
主站蜘蛛池模板: 尤溪县| 班玛县| 灵山县| 通渭县| 托里县| 宜川县| 兴文县| 罗平县| 平昌县| 郑州市| 虎林市| 民勤县| 从化市| 苏州市| 岳普湖县| 江阴市| 陇南市| 松阳县| 盐边县| 静安区| 绥江县| 大理市| 潢川县| 和林格尔县| 固镇县| 永川市| 平遥县| 无为县| 玛曲县| 丰原市| 岱山县| 东方市| 贡嘎县| 武隆县| 乐山市| 德保县| 禄劝| 乌拉特前旗| 桓台县| 逊克县| 安国市|