Class WorkerResourceSpecFactory
- java.lang.Object
-
- org.apache.flink.runtime.resourcemanager.WorkerResourceSpecFactory
-
- Direct Known Subclasses:
ArbitraryWorkerResourceSpecFactory
,KubernetesWorkerResourceSpecFactory
,YarnWorkerResourceSpecFactory
public abstract class WorkerResourceSpecFactory extends Object
Factory for creating deployment specific defaultWorkerResourceSpec
.
-
-
Constructor Summary
Constructors Constructor Description WorkerResourceSpecFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract WorkerResourceSpec
createDefaultWorkerResourceSpec(Configuration configuration)
protected WorkerResourceSpec
workerResourceSpecFromConfigAndCpu(Configuration configuration, CPUResource cpuResource)
-
-
-
Method Detail
-
createDefaultWorkerResourceSpec
public abstract WorkerResourceSpec createDefaultWorkerResourceSpec(Configuration configuration)
-
workerResourceSpecFromConfigAndCpu
protected WorkerResourceSpec workerResourceSpecFromConfigAndCpu(Configuration configuration, CPUResource cpuResource)
-
-