Package | Description |
---|---|
org.apache.flink.runtime.instance | |
org.apache.flink.runtime.jobmanager.scheduler | |
org.apache.flink.runtime.jobmaster | |
org.apache.flink.runtime.jobmaster.slotpool |
Modifier and Type | Method and Description |
---|---|
Locality |
SharedSlot.getLocality() |
Locality |
SimpleSlot.getLocality()
Gets the locality information attached to this slot.
|
Modifier and Type | Method and Description |
---|---|
Tuple2<SharedSlot,Locality> |
SlotSharingGroupAssignment.getSharedSlotForTask(AbstractID groupId,
Iterable<TaskManagerLocation> preferredLocations,
boolean localOnly) |
Modifier and Type | Method and Description |
---|---|
SimpleSlot |
SlotSharingGroupAssignment.addSharedSlotAndAllocateSubSlot(SharedSlot sharedSlot,
Locality locality,
CoLocationConstraint constraint) |
SimpleSlot |
SlotSharingGroupAssignment.addSharedSlotAndAllocateSubSlot(SharedSlot sharedSlot,
Locality locality,
JobVertexID groupId) |
void |
SimpleSlot.setLocality(Locality locality)
Attached locality information to this slot.
|
Modifier and Type | Method and Description |
---|---|
static Locality |
Locality.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Locality[] |
Locality.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Locality |
LogicalSlot.getLocality()
Gets the locality of this slot.
|
Modifier and Type | Method and Description |
---|---|
Locality |
SingleLogicalSlot.getLocality() |
Locality |
SlotSelectionStrategy.SlotInfoAndLocality.getLocality() |
Locality |
SlotAndLocality.getLocality() |
Modifier and Type | Method and Description |
---|---|
static SlotSelectionStrategy.SlotInfoAndLocality |
SlotSelectionStrategy.SlotInfoAndLocality.of(SlotInfo slotInfo,
Locality locality) |
Constructor and Description |
---|
SingleLogicalSlot(SlotRequestId slotRequestId,
SlotContext slotContext,
SlotSharingGroupId slotSharingGroupId,
Locality locality,
SlotOwner slotOwner) |
SlotAndLocality(PhysicalSlot slot,
Locality locality) |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.