Class WorkerRegistration<WorkerType extends ResourceIDRetrievable>
- java.lang.Object
-
- org.apache.flink.runtime.resourcemanager.registration.TaskExecutorConnection
-
- org.apache.flink.runtime.resourcemanager.registration.WorkerRegistration<WorkerType>
-
public class WorkerRegistration<WorkerType extends ResourceIDRetrievable> extends TaskExecutorConnection
This class extends theTaskExecutorConnection, adding the worker information.
-
-
Constructor Summary
Constructors Constructor Description WorkerRegistration(TaskExecutorGateway taskExecutorGateway, WorkerType worker, int dataPort, int jmxPort, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration, ResourceProfile totalResourceProfile, ResourceProfile defaultSlotResourceProfile, String nodeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDataPort()ResourceProfilegetDefaultSlotResourceProfile()HardwareDescriptiongetHardwareDescription()intgetJmxPort()TaskExecutorMemoryConfigurationgetMemoryConfiguration()StringgetNodeId()ResourceProfilegetTotalResourceProfile()WorkerTypegetWorker()-
Methods inherited from class org.apache.flink.runtime.resourcemanager.registration.TaskExecutorConnection
getInstanceID, getResourceID, getTaskExecutorGateway
-
-
-
-
Constructor Detail
-
WorkerRegistration
public WorkerRegistration(TaskExecutorGateway taskExecutorGateway, WorkerType worker, int dataPort, int jmxPort, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration, ResourceProfile totalResourceProfile, ResourceProfile defaultSlotResourceProfile, String nodeId)
-
-
Method Detail
-
getWorker
public WorkerType getWorker()
-
getDataPort
public int getDataPort()
-
getJmxPort
public int getJmxPort()
-
getHardwareDescription
public HardwareDescription getHardwareDescription()
-
getMemoryConfiguration
public TaskExecutorMemoryConfiguration getMemoryConfiguration()
-
getDefaultSlotResourceProfile
public ResourceProfile getDefaultSlotResourceProfile()
-
getTotalResourceProfile
public ResourceProfile getTotalResourceProfile()
-
getNodeId
public String getNodeId()
-
-