public class WorkerRegistration<WorkerType extends ResourceIDRetrievable> extends TaskExecutorConnection
TaskExecutorConnection, adding the worker information.| 构造器和说明 |
|---|
WorkerRegistration(TaskExecutorGateway taskExecutorGateway,
WorkerType worker,
int dataPort,
int jmxPort,
HardwareDescription hardwareDescription,
TaskExecutorMemoryConfiguration memoryConfiguration,
ResourceProfile totalResourceProfile,
ResourceProfile defaultSlotResourceProfile,
String nodeId) |
getInstanceID, getResourceID, getTaskExecutorGatewaypublic 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.