Class SessionJobObserver
- java.lang.Object
-
- org.apache.flink.kubernetes.operator.observer.sessionjob.SessionJobObserver
-
- All Implemented Interfaces:
Observer<FlinkSessionJob>
public class SessionJobObserver extends java.lang.Object implements Observer<FlinkSessionJob>
The observer ofFlinkSessionJob.
-
-
Constructor Summary
Constructors Constructor Description SessionJobObserver(FlinkService flinkService, FlinkConfigManager configManager, StatusRecorder<FlinkSessionJobStatus> statusRecorder, EventRecorder eventRecorder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidobserve(FlinkSessionJob flinkSessionJob, io.javaoperatorsdk.operator.api.reconciler.Context context)Observe the flinkApp status, It will reflect the changed status on the flinkApp resource.
-
-
-
Constructor Detail
-
SessionJobObserver
public SessionJobObserver(FlinkService flinkService, FlinkConfigManager configManager, StatusRecorder<FlinkSessionJobStatus> statusRecorder, EventRecorder eventRecorder)
-
-
Method Detail
-
observe
public void observe(FlinkSessionJob flinkSessionJob, io.javaoperatorsdk.operator.api.reconciler.Context context)
Description copied from interface:ObserverObserve the flinkApp status, It will reflect the changed status on the flinkApp resource.- Specified by:
observein interfaceObserver<FlinkSessionJob>- Parameters:
flinkSessionJob- the target custom resourcecontext- the context with which the operation is executed
-
-