类 FlinkSessionJobObserver

  • 所有已实现的接口:
    Observer<org.apache.flink.kubernetes.operator.api.FlinkSessionJob>

    public class FlinkSessionJobObserver
    extends AbstractFlinkResourceObserver<org.apache.flink.kubernetes.operator.api.FlinkSessionJob>
    The observer of FlinkSessionJob.
    • 构造器详细资料

      • FlinkSessionJobObserver

        public FlinkSessionJobObserver​(EventRecorder eventRecorder)
    • 方法详细资料

      • isResourceReadyToBeObserved

        protected boolean isResourceReadyToBeObserved​(FlinkResourceContext<org.apache.flink.kubernetes.operator.api.FlinkSessionJob> ctx)
        从类复制的说明: AbstractFlinkResourceObserver
        Check whether the resource should be observed. In certain states such as suspended applications or in-progress upgrades and rollbacks, observing is not necessary.
        覆盖:
        isResourceReadyToBeObserved 在类中 AbstractFlinkResourceObserver<org.apache.flink.kubernetes.operator.api.FlinkSessionJob>
        参数:
        ctx - Resource context
        返回:
        True if we should observe the resource
      • checkIfAlreadyUpgraded

        protected boolean checkIfAlreadyUpgraded​(FlinkResourceContext<org.apache.flink.kubernetes.operator.api.FlinkSessionJob> ctx)
        从类复制的说明: AbstractFlinkResourceObserver
        Checks a resource that is currently in the UPGRADING state whether it was already deployed but we simply miss the status information. After comparing the target resource generation with the one from the possible deployment if they match we update the status to the already DEPLOYED state.
        指定者:
        checkIfAlreadyUpgraded 在类中 AbstractFlinkResourceObserver<org.apache.flink.kubernetes.operator.api.FlinkSessionJob>
        参数:
        ctx - Context for resource.