Class TaskExecutorProcessSpecBuilder
- java.lang.Object
-
- org.apache.flink.runtime.clusterframework.TaskExecutorProcessSpecBuilder
-
public class TaskExecutorProcessSpecBuilder extends Object
Builder forTaskExecutorProcessSpec
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskExecutorProcessSpec
build()
TaskExecutorProcessSpecBuilder
withCpuCores(double cpuCores)
TaskExecutorProcessSpecBuilder
withCpuCores(CPUResource cpuCores)
TaskExecutorProcessSpecBuilder
withTotalProcessMemory(MemorySize totalProcessMemory)
-
-
-
Method Detail
-
withCpuCores
public TaskExecutorProcessSpecBuilder withCpuCores(double cpuCores)
-
withCpuCores
public TaskExecutorProcessSpecBuilder withCpuCores(CPUResource cpuCores)
-
withTotalProcessMemory
public TaskExecutorProcessSpecBuilder withTotalProcessMemory(MemorySize totalProcessMemory)
-
build
public TaskExecutorProcessSpec build()
-
-