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 the
TaskExecutorConnection, adding the worker information.-
Constructor Summary
ConstructorsConstructorDescriptionWorkerRegistration(TaskExecutorGateway taskExecutorGateway, WorkerType worker, int dataPort, int jmxPort, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration, ResourceProfile totalResourceProfile, ResourceProfile defaultSlotResourceProfile, String nodeId) -
Method Summary
Modifier and TypeMethodDescriptionintintMethods inherited from class org.apache.flink.runtime.resourcemanager.registration.TaskExecutorConnection
getInstanceID, getResourceID, getTaskExecutorGateway
-
Constructor Details
-
WorkerRegistration
public WorkerRegistration(TaskExecutorGateway taskExecutorGateway, WorkerType worker, int dataPort, int jmxPort, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration, ResourceProfile totalResourceProfile, ResourceProfile defaultSlotResourceProfile, String nodeId)
-
-
Method Details
-
getWorker
-
getDataPort
public int getDataPort() -
getJmxPort
public int getJmxPort() -
getHardwareDescription
-
getMemoryConfiguration
-
getDefaultSlotResourceProfile
-
getTotalResourceProfile
-
getNodeId
-