Uses of Class
org.apache.flink.runtime.instance.InstanceID
Packages that use InstanceID
Package
Description
-
Uses of InstanceID in org.apache.flink.runtime.resourcemanager
Methods in org.apache.flink.runtime.resourcemanager that return types with arguments of type InstanceIDModifier and TypeMethodDescriptionResourceManager.getInstanceIdByResourceId(ResourceID resourceID) Methods in org.apache.flink.runtime.resourcemanager with parameters of type InstanceIDModifier and TypeMethodDescriptionprotected 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.ResourceManager.sendSlotReport(ResourceID taskManagerResourceId, InstanceID taskManagerRegistrationId, SlotReport slotReport, Duration timeout) ResourceManagerGateway.sendSlotReport(ResourceID taskManagerResourceId, InstanceID taskManagerRegistrationId, SlotReport slotReport, Duration 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 -
Uses of InstanceID in org.apache.flink.runtime.resourcemanager.slotmanager
Methods in org.apache.flink.runtime.resourcemanager.slotmanager that return InstanceIDModifier and TypeMethodDescriptionFineGrainedTaskManagerRegistration.getInstanceId()FineGrainedTaskManagerSlot.getInstanceId()TaskManagerInfo.getInstanceId()Get the instanceId of this task manager.TaskManagerSlotInformation.getInstanceId()Methods in org.apache.flink.runtime.resourcemanager.slotmanager that return types with arguments of type InstanceIDModifier and TypeMethodDescriptionMap<org.apache.flink.api.common.JobID,Map<InstanceID, ResourceCounter>> ResourceAllocationResult.getAllocationsOnRegisteredResources()FineGrainedTaskManagerTracker.getUnWantedTaskManager()ResourceDeclaration.getUnwantedWorkers()Methods in org.apache.flink.runtime.resourcemanager.slotmanager with parameters of type InstanceIDModifier and TypeMethodDescriptionResourceAllocationResult.Builder.addAllocationOnRegisteredResource(org.apache.flink.api.common.JobID jobId, InstanceID instanceId, ResourceProfile resourceProfile) voidFineGrainedTaskManagerTracker.addUnWantedTaskManager(InstanceID instanceId) DefaultSlotStatusSyncer.allocateSlot(InstanceID instanceId, org.apache.flink.api.common.JobID jobId, String targetAddress, ResourceProfile resourceProfile) SlotStatusSyncer.allocateSlot(InstanceID instanceId, org.apache.flink.api.common.JobID jobId, String targetAddress, ResourceProfile resourceProfile) Allocate a slot from the task manager.FineGrainedSlotManager.getAllocatedSlotsOf(InstanceID instanceID) SlotManager.getAllocatedSlotsOf(InstanceID instanceID) ClusterResourceStatisticsProvider.getFreeResourceOf(InstanceID instanceId) Get profile of free resources from the TaskManager with the given instance id.FineGrainedSlotManager.getFreeResourceOf(InstanceID instanceID) FineGrainedTaskManagerTracker.getFreeResourceOf(InstanceID instanceId) SlotManager.getFreeResourceOf(InstanceID instanceID) intClusterResourceStatisticsProvider.getNumberFreeSlotsOf(InstanceID instanceId) Get number of free slots from the TaskManager with the given instance id.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.intFineGrainedSlotManager.getNumberRegisteredSlotsOf(InstanceID instanceId) intFineGrainedTaskManagerTracker.getNumberRegisteredSlotsOf(InstanceID instanceId) intSlotManager.getNumberRegisteredSlotsOf(InstanceID instanceId) ClusterResourceStatisticsProvider.getRegisteredResourceOf(InstanceID instanceId) Get profile of registered resources from the TaskManager with the given instance id.FineGrainedSlotManager.getRegisteredResourceOf(InstanceID instanceID) FineGrainedTaskManagerTracker.getRegisteredResourceOf(InstanceID instanceId) SlotManager.getRegisteredResourceOf(InstanceID instanceID) 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) 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.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.Constructor parameters in org.apache.flink.runtime.resourcemanager.slotmanager with type arguments of type InstanceIDModifierConstructorDescriptionResourceDeclaration(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 InstanceIDModifier and TypeMethodDescriptionTaskExecutorRegistrationSuccess.getRegistrationId()Gets the ID that the ResourceManager assigned the registration.Constructors in org.apache.flink.runtime.taskexecutor with parameters of type InstanceIDModifierConstructorDescriptionTaskExecutorRegistrationSuccess(InstanceID registrationId, ResourceID resourceManagerResourceId, ClusterInformation clusterInformation, byte[] initialTokens) Create a newTaskExecutorRegistrationSuccessmessage.