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 class
SlotSharingGroup.Builder
Builder for theSlotSharingGroup
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static SlotSharingGroup
from(SlotSharingGroup group)
Convert aSlotSharingGroup
toSlotSharingGroup
.Optional<Double>
getCpuCores()
Map<String,Double>
getExternalResources()
Optional<MemorySize>
getManagedMemory()
String
getName()
Optional<MemorySize>
getTaskHeapMemory()
Optional<MemorySize>
getTaskOffHeapMemory()
int
hashCode()
static SlotSharingGroup.Builder
newBuilder(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)
-
from
public static SlotSharingGroup from(SlotSharingGroup group)
Convert aSlotSharingGroup
toSlotSharingGroup
.
-
-