类 AbstractFlinkDeploymentObserver

    • 字段详细资料

      • logger

        protected final org.slf4j.Logger logger
    • 构造器详细资料

      • AbstractFlinkDeploymentObserver

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

      • observeJmDeployment

        protected void observeJmDeployment​(FlinkResourceContext<org.apache.flink.kubernetes.operator.api.FlinkDeployment> ctx)
      • isJmDeploymentReady

        protected boolean isJmDeploymentReady​(org.apache.flink.kubernetes.operator.api.FlinkDeployment dep)
      • clearErrorsIfDeploymentIsHealthy

        protected void clearErrorsIfDeploymentIsHealthy​(org.apache.flink.kubernetes.operator.api.FlinkDeployment dep)
      • isSuspendedJob

        protected boolean isSuspendedJob​(org.apache.flink.kubernetes.operator.api.FlinkDeployment deployment)
      • checkIfAlreadyUpgraded

        protected boolean checkIfAlreadyUpgraded​(FlinkResourceContext<org.apache.flink.kubernetes.operator.api.FlinkDeployment> 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.FlinkDeployment>
        参数:
        ctx - Context for resource.
      • observeFlinkCluster

        protected abstract void observeFlinkCluster​(FlinkResourceContext<org.apache.flink.kubernetes.operator.api.FlinkDeployment> ctx)
        Observe the flinkApp status when the cluster is ready. It will be implemented by child class to reflect the changed status on the flinkApp resource.
        参数:
        ctx - the context with which the operation is executed