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)static SlotSharingGroupfrom(org.apache.flink.api.common.SlotSharingGroup group)Convert aSlotSharingGrouptoSlotSharingGroup.Optional<Double>getCpuCores()Map<String,Double>getExternalResources()Optional<org.apache.flink.configuration.MemorySize>getManagedMemory()StringgetName()Optional<org.apache.flink.configuration.MemorySize>getTaskHeapMemory()Optional<org.apache.flink.configuration.MemorySize>getTaskOffHeapMemory()inthashCode()static SlotSharingGroup.BuildernewBuilder(String name)
-
-
-
Method Detail
-
getName
public String getName()
-
getManagedMemory
public Optional<org.apache.flink.configuration.MemorySize> getManagedMemory()
-
getTaskHeapMemory
public Optional<org.apache.flink.configuration.MemorySize> getTaskHeapMemory()
-
getTaskOffHeapMemory
public Optional<org.apache.flink.configuration.MemorySize> getTaskOffHeapMemory()
-
newBuilder
public static SlotSharingGroup.Builder newBuilder(String name)
-
from
public static SlotSharingGroup from(org.apache.flink.api.common.SlotSharingGroup group)
Convert aSlotSharingGrouptoSlotSharingGroup.
-
-