接口 Reconciler<CR extends org.apache.flink.kubernetes.operator.api.AbstractFlinkResource<?,?>>
-
- 类型参数:
CR- The custom resource to be reconciled.
- 所有已知实现类:
AbstractFlinkResourceReconciler,AbstractJobReconciler,ApplicationReconciler,SessionJobReconciler,SessionReconciler
public interface Reconciler<CR extends org.apache.flink.kubernetes.operator.api.AbstractFlinkResource<?,?>>The interface of reconciler.
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 io.javaoperatorsdk.operator.api.reconciler.DeleteControlcleanup(FlinkResourceContext<CR> context)This is called when receiving the delete event of custom resource.voidreconcile(FlinkResourceContext<CR> context)This is called when receiving the create or update event of the custom resource.
-
-
-
方法详细资料
-
reconcile
void reconcile(FlinkResourceContext<CR> context) throws java.lang.Exception
This is called when receiving the create or update event of the custom resource.- 参数:
context- the context with which the operation is executed- 抛出:
java.lang.Exception- Error during reconciliation.
-
cleanup
io.javaoperatorsdk.operator.api.reconciler.DeleteControl cleanup(FlinkResourceContext<CR> context)
This is called when receiving the delete event of custom resource. This method is meant to cleanup the associated components like the Flink job components.- 参数:
context- the context with which the operation is executed- 返回:
- DeleteControl to manage the deletion behavior
-
-