类 NoopJobAutoscalerFactory
- java.lang.Object
-
- org.apache.flink.kubernetes.operator.reconciler.deployment.NoopJobAutoscalerFactory
-
- 所有已实现的接口:
JobAutoScaler,JobAutoScalerFactory
public class NoopJobAutoscalerFactory extends java.lang.Object implements JobAutoScalerFactory, JobAutoScaler
An autoscaler implementation which does nothing.
-
-
构造器概要
构造器 构造器 说明 NoopJobAutoscalerFactory()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidcleanup(FlinkResourceContext<?> ctx)Called when the custom resource is deleted.JobAutoScalercreate(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient, EventRecorder eventRecorder)java.util.Map<java.lang.String,java.lang.String>getParallelismOverrides(FlinkResourceContext<?> ctx)Get the current parallelism overrides for the job.booleanscale(FlinkResourceContext<?> ctx)Called as part of the reconciliation loop.
-
-
-
方法详细资料
-
create
public JobAutoScaler create(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient, EventRecorder eventRecorder)
- 指定者:
create在接口中JobAutoScalerFactory
-
scale
public boolean scale(FlinkResourceContext<?> ctx)
从接口复制的说明:JobAutoScalerCalled as part of the reconciliation loop. Returns true if this call led to scaling.- 指定者:
scale在接口中JobAutoScaler
-
cleanup
public void cleanup(FlinkResourceContext<?> ctx)
从接口复制的说明:JobAutoScalerCalled when the custom resource is deleted.- 指定者:
cleanup在接口中JobAutoScaler
-
getParallelismOverrides
public java.util.Map<java.lang.String,java.lang.String> getParallelismOverrides(FlinkResourceContext<?> ctx)
从接口复制的说明:JobAutoScalerGet the current parallelism overrides for the job.- 指定者:
getParallelismOverrides在接口中JobAutoScaler
-
-