public class WorkerRegistration<WorkerType extends ResourceIDRetrievable> extends TaskExecutorConnection
TaskExecutorConnection
, adding the worker information.Constructor and Description |
---|
WorkerRegistration(TaskExecutorGateway taskExecutorGateway,
WorkerType worker,
int dataPort,
int jmxPort,
HardwareDescription hardwareDescription,
TaskExecutorMemoryConfiguration memoryConfiguration,
ResourceProfile totalResourceProfile,
ResourceProfile defaultSlotResourceProfile,
String nodeId) |
Modifier and Type | Method and Description |
---|---|
int |
getDataPort() |
ResourceProfile |
getDefaultSlotResourceProfile() |
HardwareDescription |
getHardwareDescription() |
int |
getJmxPort() |
TaskExecutorMemoryConfiguration |
getMemoryConfiguration() |
String |
getNodeId() |
ResourceProfile |
getTotalResourceProfile() |
WorkerType |
getWorker() |
getInstanceID, getResourceID, getTaskExecutorGateway
public WorkerRegistration(TaskExecutorGateway taskExecutorGateway, WorkerType worker, int dataPort, int jmxPort, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration, ResourceProfile totalResourceProfile, ResourceProfile defaultSlotResourceProfile, String nodeId)
public WorkerType getWorker()
public int getDataPort()
public int getJmxPort()
public HardwareDescription getHardwareDescription()
public TaskExecutorMemoryConfiguration getMemoryConfiguration()
public ResourceProfile getDefaultSlotResourceProfile()
public ResourceProfile getTotalResourceProfile()
public String getNodeId()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.