Uses of Class
org.apache.flink.runtime.instance.InstanceID
-
-
Uses of InstanceID in org.apache.flink.runtime.resourcemanager
Methods in org.apache.flink.runtime.resourcemanager that return types with arguments of type InstanceID Modifier and Type Method Description Optional<InstanceID>ResourceManager. getInstanceIdByResourceId(ResourceID resourceID)Methods in org.apache.flink.runtime.resourcemanager with parameters of type InstanceID Modifier and Type Method Description protected WorkerTypeResourceManager. getWorkerByInstanceId(InstanceID instanceId)voidResourceManager. notifySlotAvailable(InstanceID instanceID, SlotID slotId, AllocationID allocationId)voidResourceManagerGateway. notifySlotAvailable(InstanceID instanceId, SlotID slotID, AllocationID oldAllocationId)Sent by the TaskExecutor to notify the ResourceManager that a slot has become available.CompletableFuture<Acknowledge>ResourceManager. sendSlotReport(ResourceID taskManagerResourceId, InstanceID taskManagerRegistrationId, SlotReport slotReport, org.apache.flink.api.common.time.Time timeout)CompletableFuture<Acknowledge>ResourceManagerGateway. sendSlotReport(ResourceID taskManagerResourceId, InstanceID taskManagerRegistrationId, SlotReport slotReport, org.apache.flink.api.common.time.Time timeout)Sends the givenSlotReportto the ResourceManager. -
Uses of InstanceID in org.apache.flink.runtime.resourcemanager.registration
Methods in org.apache.flink.runtime.resourcemanager.registration that return InstanceID Modifier and Type Method Description InstanceIDTaskExecutorConnection. getInstanceID() -
Uses of InstanceID in org.apache.flink.runtime.resourcemanager.slotmanager
Methods in org.apache.flink.runtime.resourcemanager.slotmanager that return InstanceID Modifier and Type Method Description InstanceIDFineGrainedTaskManagerRegistration. getInstanceId()InstanceIDFineGrainedTaskManagerSlot. getInstanceId()InstanceIDTaskManagerInfo. getInstanceId()Get the instanceId of this task manager.InstanceIDTaskManagerRegistration. getInstanceId()InstanceIDTaskManagerSlotInformation. getInstanceId()Methods in org.apache.flink.runtime.resourcemanager.slotmanager that return types with arguments of type InstanceID Modifier and Type Method Description Map<org.apache.flink.api.common.JobID,Map<InstanceID,ResourceCounter>>ResourceAllocationResult. getAllocationsOnRegisteredResources()Map<InstanceID,WorkerResourceSpec>FineGrainedTaskManagerTracker. getUnWantedTaskManager()Collection<InstanceID>ResourceDeclaration. getUnwantedWorkers()Methods in org.apache.flink.runtime.resourcemanager.slotmanager with parameters of type InstanceID Modifier and Type Method Description ResourceAllocationResult.BuilderResourceAllocationResult.Builder. addAllocationOnRegisteredResource(org.apache.flink.api.common.JobID jobId, InstanceID instanceId, ResourceProfile resourceProfile)voidFineGrainedTaskManagerTracker. addUnWantedTaskManager(InstanceID instanceId)CompletableFuture<Void>DefaultSlotStatusSyncer. allocateSlot(InstanceID instanceId, org.apache.flink.api.common.JobID jobId, String targetAddress, ResourceProfile resourceProfile)CompletableFuture<Void>SlotStatusSyncer. allocateSlot(InstanceID instanceId, org.apache.flink.api.common.JobID jobId, String targetAddress, ResourceProfile resourceProfile)Allocate a slot from the task manager.Collection<SlotInfo>DeclarativeSlotManager. getAllocatedSlotsOf(InstanceID instanceID)Collection<SlotInfo>FineGrainedSlotManager. getAllocatedSlotsOf(InstanceID instanceID)Collection<SlotInfo>SlotManager. getAllocatedSlotsOf(InstanceID instanceID)ResourceProfileClusterResourceStatisticsProvider. getFreeResourceOf(InstanceID instanceId)Get profile of free resources from the TaskManager with the given instance id.ResourceProfileDeclarativeSlotManager. getFreeResourceOf(InstanceID instanceID)ResourceProfileFineGrainedSlotManager. getFreeResourceOf(InstanceID instanceID)ResourceProfileFineGrainedTaskManagerTracker. getFreeResourceOf(InstanceID instanceId)ResourceProfileSlotManager. getFreeResourceOf(InstanceID instanceID)intClusterResourceStatisticsProvider. getNumberFreeSlotsOf(InstanceID instanceId)Get number of free slots from the TaskManager with the given instance id.intDeclarativeSlotManager. getNumberFreeSlotsOf(InstanceID instanceId)intFineGrainedSlotManager. getNumberFreeSlotsOf(InstanceID instanceId)intFineGrainedTaskManagerTracker. getNumberFreeSlotsOf(InstanceID instanceId)intSlotManager. getNumberFreeSlotsOf(InstanceID instanceId)intClusterResourceStatisticsProvider. getNumberRegisteredSlotsOf(InstanceID instanceId)Get number of registered slots from the TaskManager with the given instance id.intDeclarativeSlotManager. getNumberRegisteredSlotsOf(InstanceID instanceId)intFineGrainedSlotManager. getNumberRegisteredSlotsOf(InstanceID instanceId)intFineGrainedTaskManagerTracker. getNumberRegisteredSlotsOf(InstanceID instanceId)intSlotManager. getNumberRegisteredSlotsOf(InstanceID instanceId)ResourceProfileClusterResourceStatisticsProvider. getRegisteredResourceOf(InstanceID instanceId)Get profile of registered resources from the TaskManager with the given instance id.ResourceProfileDeclarativeSlotManager. getRegisteredResourceOf(InstanceID instanceID)ResourceProfileFineGrainedSlotManager. getRegisteredResourceOf(InstanceID instanceID)ResourceProfileFineGrainedTaskManagerTracker. getRegisteredResourceOf(InstanceID instanceId)ResourceProfileSlotManager. getRegisteredResourceOf(InstanceID instanceID)Optional<TaskManagerInfo>FineGrainedTaskManagerTracker. getRegisteredTaskManager(InstanceID instanceId)longFineGrainedSlotManager. getTaskManagerIdleSince(InstanceID instanceId)voidFineGrainedTaskManagerTracker. notifySlotStatus(AllocationID allocationId, org.apache.flink.api.common.JobID jobId, InstanceID instanceId, ResourceProfile resourceProfile, org.apache.flink.runtime.resourcemanager.slotmanager.SlotState slotState)voidFineGrainedTaskManagerTracker. removeTaskManager(InstanceID instanceId)booleanDeclarativeSlotManager. reportSlotStatus(InstanceID instanceId, SlotReport slotReport)Reports the current slot allocations for a task manager identified by the given instance id.booleanDefaultSlotStatusSyncer. reportSlotStatus(InstanceID instanceId, SlotReport slotReport)booleanFineGrainedSlotManager. reportSlotStatus(InstanceID instanceId, SlotReport slotReport)Reports the current slot allocations for a task manager identified by the given instance id.booleanSlotManager. reportSlotStatus(InstanceID instanceId, SlotReport slotReport)Reports the current slot allocations for a task manager identified by the given instance id.booleanSlotStatusSyncer. reportSlotStatus(InstanceID instanceId, SlotReport slotReport)Reconcile the slot status with the slot report.booleanDeclarativeSlotManager. unregisterTaskManager(InstanceID instanceId, Exception cause)booleanFineGrainedSlotManager. unregisterTaskManager(InstanceID instanceId, Exception cause)booleanSlotManager. unregisterTaskManager(InstanceID instanceId, Exception cause)Unregisters the task manager identified by the given instance id and its associated slots from the slot manager.Method parameters in org.apache.flink.runtime.resourcemanager.slotmanager with type arguments of type InstanceID Modifier and Type Method Description <T extends TaskManagerSlotInformation>
Optional<T>AnyMatchingSlotMatchingStrategy. findMatchingSlot(ResourceProfile requestedProfile, Collection<T> freeSlots, java.util.function.Function<InstanceID,Integer> numberRegisteredSlotsLookup)<T extends TaskManagerSlotInformation>
Optional<T>LeastUtilizationSlotMatchingStrategy. findMatchingSlot(ResourceProfile requestedProfile, Collection<T> freeSlots, java.util.function.Function<InstanceID,Integer> numberRegisteredSlotsLookup)<T extends TaskManagerSlotInformation>
Optional<T>SlotMatchingStrategy. findMatchingSlot(ResourceProfile requestedProfile, Collection<T> freeSlots, java.util.function.Function<InstanceID,Integer> numberRegisteredSlotsLookup)Finds a matching slot for the requestedResourceProfilegiven the collection of free slots and the total number of slots per TaskExecutor.Constructor parameters in org.apache.flink.runtime.resourcemanager.slotmanager with type arguments of type InstanceID Constructor Description ResourceDeclaration(WorkerResourceSpec spec, int numNeeded, Collection<InstanceID> unwantedWorkers) -
Uses of InstanceID in org.apache.flink.runtime.taskexecutor
Methods in org.apache.flink.runtime.taskexecutor that return InstanceID Modifier and Type Method Description InstanceIDTaskExecutorRegistrationSuccess. getRegistrationId()Gets the ID that the ResourceManager assigned the registration.Constructors in org.apache.flink.runtime.taskexecutor with parameters of type InstanceID Constructor Description TaskExecutorRegistrationSuccess(InstanceID registrationId, ResourceID resourceManagerResourceId, ClusterInformation clusterInformation, byte[] initialTokens)Create a newTaskExecutorRegistrationSuccessmessage.
-