Class ApplicationObserver
- java.lang.Object
-
- org.apache.flink.kubernetes.operator.observer.deployment.AbstractDeploymentObserver
-
- org.apache.flink.kubernetes.operator.observer.deployment.ApplicationObserver
-
- All Implemented Interfaces:
Observer<FlinkDeployment>
public class ApplicationObserver extends AbstractDeploymentObserver
The observer ofMode.APPLICATIONcluster.
-
-
Field Summary
-
Fields inherited from class org.apache.flink.kubernetes.operator.observer.deployment.AbstractDeploymentObserver
configManager, eventRecorder, flinkService, logger
-
-
Constructor Summary
Constructors Constructor Description ApplicationObserver(FlinkService flinkService, FlinkConfigManager configManager, StatusRecorder<FlinkDeploymentStatus> statusRecorder, EventRecorder eventRecorder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidobserveFlinkCluster(FlinkDeployment flinkApp, io.javaoperatorsdk.operator.api.reconciler.Context context, org.apache.flink.configuration.Configuration deployedConfig)Observe the flinkApp status when the cluster is ready.-
Methods inherited from class org.apache.flink.kubernetes.operator.observer.deployment.AbstractDeploymentObserver
clearErrorsIfDeploymentIsHealthy, isJmDeploymentReady, isSuspendedJob, observe, observeJmDeployment
-
-
-
-
Constructor Detail
-
ApplicationObserver
public ApplicationObserver(FlinkService flinkService, FlinkConfigManager configManager, StatusRecorder<FlinkDeploymentStatus> statusRecorder, EventRecorder eventRecorder)
-
-
Method Detail
-
observeFlinkCluster
protected void observeFlinkCluster(FlinkDeployment flinkApp, io.javaoperatorsdk.operator.api.reconciler.Context context, org.apache.flink.configuration.Configuration deployedConfig)
Description copied from class:AbstractDeploymentObserverObserve the flinkApp status when the cluster is ready. It will be implemented by child class to reflect the changed status on the flinkApp resource.- Specified by:
observeFlinkClusterin classAbstractDeploymentObserver- Parameters:
flinkApp- the target flinkDeployment resourcecontext- the context with which the operation is executeddeployedConfig- config that is deployed on the Flink cluster
-
-