Package | Description |
---|---|
org.apache.flink.api.common.operators | |
org.apache.flink.api.common.resources | |
org.apache.flink.runtime.clusterframework |
This package contains the cluster resource management functionality.
|
org.apache.flink.runtime.clusterframework.types | |
org.apache.flink.runtime.resourcemanager | |
org.apache.flink.runtime.resourcemanager.slotmanager | |
org.apache.flink.runtime.taskexecutor |
Modifier and Type | Method and Description |
---|---|
CPUResource |
ResourceSpec.getCpuCores() |
Modifier and Type | Method and Description |
---|---|
CPUResource |
CPUResource.create(BigDecimal value) |
Modifier and Type | Method and Description |
---|---|
CPUResource |
TaskExecutorProcessSpec.getCpuCores() |
static CPUResource |
TaskExecutorProcessUtils.getCpuCoresWithFallback(Configuration config,
double fallback) |
Modifier and Type | Method and Description |
---|---|
TaskExecutorProcessSpecBuilder |
TaskExecutorProcessSpecBuilder.withCpuCores(CPUResource cpuCores) |
Constructor and Description |
---|
TaskExecutorProcessSpec(CPUResource cpuCores,
MemorySize frameworkHeapSize,
MemorySize frameworkOffHeapSize,
MemorySize taskHeapSize,
MemorySize taskOffHeapSize,
MemorySize networkMemSize,
MemorySize managedMemorySize,
MemorySize jvmMetaspaceSize,
MemorySize jvmOverheadSize,
Collection<ExternalResource> extendedResources) |
TaskExecutorProcessSpec(CPUResource cpuCores,
TaskExecutorFlinkMemory flinkMemory,
JvmMetaspaceAndOverhead jvmMetaspaceAndOverhead,
int numSlots,
Collection<ExternalResource> extendedResources) |
Modifier and Type | Method and Description |
---|---|
CPUResource |
ResourceProfile.getCpuCores()
Get the cpu cores needed.
|
Modifier and Type | Method and Description |
---|---|
ResourceProfile.Builder |
ResourceProfile.Builder.setCpuCores(CPUResource cpuCores) |
Modifier and Type | Method and Description |
---|---|
CPUResource |
WorkerResourceSpec.getCpuCores() |
Modifier and Type | Method and Description |
---|---|
protected WorkerResourceSpec |
WorkerResourceSpecFactory.workerResourceSpecFromConfigAndCpu(Configuration configuration,
CPUResource cpuResource) |
Modifier and Type | Method and Description |
---|---|
CPUResource |
SlotManagerConfiguration.getMaxTotalCpu() |
Constructor and Description |
---|
SlotManagerConfiguration(Time taskManagerRequestTimeout,
Time slotRequestTimeout,
Time taskManagerTimeout,
java.time.Duration requirementCheckDelay,
boolean waitResultConsumedBeforeRelease,
SlotMatchingStrategy slotMatchingStrategy,
WorkerResourceSpec defaultWorkerResourceSpec,
int numSlotsPerWorker,
int maxSlotNum,
CPUResource maxTotalCpu,
MemorySize maxTotalMem,
int redundantTaskManagerNum) |
Modifier and Type | Method and Description |
---|---|
CPUResource |
TaskExecutorResourceSpec.getCpuCores() |
Constructor and Description |
---|
TaskExecutorResourceSpec(CPUResource cpuCores,
MemorySize taskHeapSize,
MemorySize taskOffHeapSize,
MemorySize networkMemSize,
MemorySize managedMemorySize,
Collection<ExternalResource> extendedResources) |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.