Class SlotSharingGroup
- java.lang.Object
-
- org.apache.flink.api.common.operators.SlotSharingGroup
-
- All Implemented Interfaces:
Serializable
@PublicEvolving public class SlotSharingGroup extends Object implements Serializable
Describe the name and the different resource components of a slot sharing group.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSlotSharingGroup.BuilderBuilder for theSlotSharingGroup.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Optional<Double>getCpuCores()Map<String,Double>getExternalResources()Optional<MemorySize>getManagedMemory()StringgetName()Optional<MemorySize>getTaskHeapMemory()Optional<MemorySize>getTaskOffHeapMemory()inthashCode()static SlotSharingGroup.BuildernewBuilder(String name)
-
-
-
Method Detail
-
getName
public String getName()
-
getManagedMemory
public Optional<MemorySize> getManagedMemory()
-
getTaskHeapMemory
public Optional<MemorySize> getTaskHeapMemory()
-
getTaskOffHeapMemory
public Optional<MemorySize> getTaskOffHeapMemory()
-
newBuilder
public static SlotSharingGroup.Builder newBuilder(String name)
-
-