| Modifier and Type | Field and Description |
|---|---|
static ResourceProfile |
ResourceProfile.ANY
ResourceProfile which matches any other ResourceProfile.
|
static ResourceProfile |
ResourceProfile.UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
ResourceProfile |
TaskManagerSlot.getResourceProfile() |
ResourceProfile |
SlotProfile.getResourceProfile()
Returns the desired resource profile for the slot.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ResourceProfile.compareTo(ResourceProfile other) |
boolean |
ResourceProfile.isMatching(ResourceProfile required)
Check whether required resource profile can be matched.
|
boolean |
TaskManagerSlot.isMatchingRequirement(ResourceProfile required)
Check whether required resource profile can be matched by this slot.
|
static SlotProfile |
SlotProfile.noLocality(ResourceProfile resourceProfile)
Returns a slot profile for the given resource profile, without any locality requirements.
|
static SlotProfile |
SlotProfile.preferredLocality(ResourceProfile resourceProfile,
Collection<TaskManagerLocation> preferredLocations)
Returns a slot profile for the given resource profile and the preferred locations.
|
static SlotProfile |
SlotProfile.priorAllocation(ResourceProfile resourceProfile,
Collection<AllocationID> priorAllocations)
Returns a slot profile for the given resource profile and the prior allocations.
|
| Constructor and Description |
|---|
ResourceProfile(ResourceProfile other)
Creates a copy of the given ResourceProfile.
|
SlotProfile(ResourceProfile resourceProfile,
Collection<TaskManagerLocation> preferredLocations,
Collection<AllocationID> preferredAllocations) |
SlotProfile(ResourceProfile resourceProfile,
Collection<TaskManagerLocation> preferredLocations,
Collection<AllocationID> preferredAllocations,
Set<AllocationID> previousExecutionGraphAllocations) |
TaskManagerSlot(SlotID slotId,
ResourceProfile resourceProfile,
TaskExecutorConnection taskManagerConnection) |
| Modifier and Type | Method and Description |
|---|---|
ResourceProfile |
SlotRequest.getResourceProfile()
Get the resource profile of the desired slot
|
| Modifier and Type | Method and Description |
|---|---|
protected static Collection<ResourceProfile> |
ResourceManager.createSlotsPerWorker(int numSlots) |
Collection<ResourceProfile> |
StandaloneResourceManager.startNewWorker(ResourceProfile resourceProfile) |
abstract Collection<ResourceProfile> |
ResourceManager.startNewWorker(ResourceProfile resourceProfile)
Allocates a resource using the resource profile.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceManagerServices.allocateResource(ResourceProfile resourceProfile)
Allocates a resource according to the resource profile.
|
Collection<ResourceProfile> |
StandaloneResourceManager.startNewWorker(ResourceProfile resourceProfile) |
abstract Collection<ResourceProfile> |
ResourceManager.startNewWorker(ResourceProfile resourceProfile)
Allocates a resource using the resource profile.
|
| Constructor and Description |
|---|
SlotRequest(org.apache.flink.api.common.JobID jobId,
AllocationID allocationId,
ResourceProfile resourceProfile,
String targetAddress) |
| Modifier and Type | Method and Description |
|---|---|
ResourceProfile |
PendingTaskManagerSlot.getResourceProfile() |
ResourceProfile |
PendingSlotRequest.getResourceProfile() |
| Modifier and Type | Method and Description |
|---|---|
Collection<ResourceProfile> |
ResourceActions.allocateResource(ResourceProfile resourceProfile)
Requests to allocate a resource with the given
ResourceProfile. |
| Modifier and Type | Method and Description |
|---|---|
Collection<ResourceProfile> |
ResourceActions.allocateResource(ResourceProfile resourceProfile)
Requests to allocate a resource with the given
ResourceProfile. |
protected PendingSlotRequest |
SlotManager.findMatchingRequest(ResourceProfile slotResourceProfile)
Finds a matching slot request for a given resource profile.
|
protected TaskManagerSlot |
SlotManager.findMatchingSlot(ResourceProfile requestResourceProfile)
Finds a matching slot for a given resource profile.
|
| Constructor and Description |
|---|
PendingTaskManagerSlot(ResourceProfile resourceProfile) |
| Modifier and Type | Method and Description |
|---|---|
ResourceProfile |
SlotStatus.getResourceProfile()
Get the resource profile of this slot.
|
| Constructor and Description |
|---|
SlotStatus(SlotID slotID,
ResourceProfile resourceProfile) |
SlotStatus(SlotID slotID,
ResourceProfile resourceProfile,
org.apache.flink.api.common.JobID jobID,
AllocationID allocationID) |
| Modifier and Type | Method and Description |
|---|---|
ResourceProfile |
TaskSlot.getResourceProfile() |
ResourceProfile |
SlotOffer.getResourceProfile() |
| Constructor and Description |
|---|
SlotOffer(AllocationID allocationID,
int index,
ResourceProfile resourceProfile) |
| Constructor and Description |
|---|
TaskSlotTable(Collection<ResourceProfile> resourceProfiles,
TimerService<AllocationID> timerService) |
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.