Class ArbitraryWorkerResourceSpecFactory
- java.lang.Object
-
- org.apache.flink.runtime.resourcemanager.WorkerResourceSpecFactory
-
- org.apache.flink.runtime.resourcemanager.ArbitraryWorkerResourceSpecFactory
-
public class ArbitraryWorkerResourceSpecFactory extends WorkerResourceSpecFactory
Implementation ofWorkerResourceSpecFactory
that creates arbitraryWorkerResourceSpec
. Used for scenarios where the values in the defaultWorkerResourceSpec
does not matter.
-
-
Field Summary
Fields Modifier and Type Field Description static ArbitraryWorkerResourceSpecFactory
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkerResourceSpec
createDefaultWorkerResourceSpec(Configuration configuration)
-
Methods inherited from class org.apache.flink.runtime.resourcemanager.WorkerResourceSpecFactory
workerResourceSpecFromConfigAndCpu
-
-
-
-
Field Detail
-
INSTANCE
public static final ArbitraryWorkerResourceSpecFactory INSTANCE
-
-
Method Detail
-
createDefaultWorkerResourceSpec
public WorkerResourceSpec createDefaultWorkerResourceSpec(Configuration configuration)
- Specified by:
createDefaultWorkerResourceSpec
in classWorkerResourceSpecFactory
-
-